WordPress.org

China 简体中文

  • 主题
  • 插件
  • 新闻
    • 文档
    • 论坛
  • 关于
  • 获取 WordPress
获取 WordPress
WordPress.org

Plugin Directory

Private Website – Login Required

  • 提交插件
  • 我的收藏
  • 登录
  • 提交插件
  • 我的收藏
  • 登录

Private Website – Login Required

作者:roehler
下载
  • 详情
  • 评价
  • 安装
  • 开发进展
支持

描述

Private Website – Login Required is a simple and straightforward WordPress plugin designed to restrict access to your website. By activating this plugin, users must be logged in to view any content on your site. This is ideal for websites that host sensitive or exclusive content and want to ensure that only authenticated users can access it.

There are no complicated settings to configure. Simply activate the plugin to enforce the login requirement and deactivate it to remove the restriction.

This plugin was developed by Robin Oehler.

Privacy Policy

Private Website – Login Required uses Appsero SDK to collect some telemetry data upon user’s confirmation. This helps us to troubleshoot problems faster & make product improvements.

Appsero SDK does not gather any data by default. The SDK only starts gathering basic telemetry data when a user allows it via the admin notice. We collect the data to ensure a great user experience for all our users.

Integrating Appsero SDK DOES NOT IMMEDIATELY start gathering data, without confirmation from users in any case.

Learn more about how Appsero collects and uses this data.

Bugs & Feedback

Your feedback is important to me. If you find mistakes, have wishes, ideas, or suggestions, please send an email to mail@roehler.nrw.

Legal notice (German): https://roehler.nrw/impressum/

You are free to use it on any website across countries to protect the privacy of your users.

Note: Activating this plugin cannot guarantee that your website is completely compliant with GDPR. When using Google Analytics, Facebook pixels, or other similar tools, additional measures may need to be taken.

安装

  1. Upload the plugin files to the /wp-content/plugins/private-website directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Once activated, the plugin will automatically restrict content to logged-in users only.
  4. To remove the login requirement, simply deactivate the plugin.

常见问题

What does this plugin do?

This plugin restricts access to your website content to only logged-in users. If a user is not logged in, they will be redirected to the login page.

Are there any settings I need to configure?

No, there are no settings to configure. Simply activate the plugin to enforce the login requirement and deactivate it if you no longer want to restrict access.

Can I allow access to specific pages without login?

Currently, the plugin does not provide the option to allow access to specific pages without login. It restricts access to the entire website.

How do I stop the login requirement?

To stop requiring a login to access your site, simply deactivate the plugin from the ‘Plugins’ screen in WordPress.

评价

Macht, was es soll

josephion 2024 年 10 月 24 日
Super simples Plugin! Genau was ich brauchte. An machen und Homepage nur per Login sehen.
阅读所有1条评价

贡献者及开发者

「Private Website – Login Required」是开源软件。 以下人员对此插件做出了贡献。

贡献者
  • roehler

帮助将「Private Website – Login Required」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志。

更新日志

0.2.9

  • Ask for Appsero consent again after each admin login until consent is granted (re-prompts post-login).

0.2.8

  • Show tracking status badge directly in the plugin description (Plugins screen).

0.2.7

  • Add opt-in/out action link directly in the Plugins screen for this plugin (enables/disables Appsero tracking).

0.2.6

  • Add uninstall.php for clean uninstall (removes Appsero options and clears scheduled events; multisite-aware).

0.2.5

  • Add Appsero SDK (opt-in telemetry only), with admin notice and weekly schedule.
  • Add Privacy Policy section to readme; no data is collected without consent.
  • Minor refactors; keep strict redirects and security hardening from 0.2.4.

0.2.4

  • Enhanced security with better input validation and sanitization.
  • Improved code structure following WordPress coding standards.
  • Added proper internationalization support with textdomain.
  • Better handling of AJAX requests, REST API, and cron jobs.
  • Added activation checks for minimum WordPress and PHP versions.
  • Updated contributor information to link to author website.
  • More efficient redirect logic with wp_safe_redirect.

0.2.3

  • Improved function naming to follow WordPress coding standards and prevent conflicts.
  • Fixed SVN repository structure and tag management.
  • Reduced plugin tags to comply with WordPress.org requirements (maximum 5 tags).

0.2.2

  • Updated “Tested up to” for WordPress 6.8.1.
  • Minor code enhancements for redirect URL generation and logic.

0.2.1

  • Internal code refinements and minor updates.

0.2.0

  • Updated compatibility information (previously tested up to WordPress 6.7.2).
  • General maintenance and minor improvements.

0.1

  • Initial release of the plugin.
  • Basic functionality to require login for viewing website content.

额外信息

  • 版本 0.2.9
  • 最后更新:2 月前
  • 活跃安装数量 100+
  • WordPress 版本 5.0 或更高版本
  • 已测试的最高版本为 6.8.3
  • PHP 版本 7.0 或更高版本
  • 语言
    English (US)
  • 标签
    loginmembersprivateRestrict accessuser authentication
  • 高级视图

评级

5 星(最高 5 星)。
  • 1 5-star review 5 星 1
  • 0 4-star reviews 4 星 0
  • 0 3-star reviews 3 星 0
  • 0 2-star reviews 2 星 0
  • 0 1-star reviews 1 星 0

添加我的评价

查看全部评论

贡献者

  • roehler

支持

有话要说吗?是否需要帮助?

查看支持论坛

捐助

您愿意支持这个插件的发展吗?

捐助此插件

  • 关于
  • 新闻
  • 主机
  • 隐私
  • 陈列窗
  • 主题
  • 插件
  • 区块样板
  • 学习
  • 支持
  • 开发者
  • WordPress.tv ↗︎
  • 参与
  • 活动
  • 捐赠 ↗
  • 未来五分计划
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

China 简体中文

  • 关注我们的 X(原 Twitter)账号
  • 访问我们的 Bluesky 账号
  • 关注我们的 Mastodon 账号
  • 访问我们的 Threads 账号
  • 访问我们的 Facebook 公共主页
  • 关注我们的 Instagram 账号
  • 关注我们的 LinkedIn 主页
  • 访问我们的 TikTok 账号
  • 访问我们的 YouTube 频道
  • 访问我们的 Tumblr 账号
代码如诗