该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

CGC Maintenance Mode

描述

Easily put your site into maintenance mode with this plugin so that you can perform updates. The plugin works by taking a selection of IP addresses and comparing them to the visitor’s IP address.

Users whose IP addresses match those specified in the settings page can view the site normally. Users who do not have IP access are directed either you a WordPress page (which you pick), or to any external url.

It’s extremely simple to use:

  • activate the plugin
  • go to the “Maintenance Mode” settings
  • check the “Enable Box”
  • enter the IP addresses that should have access
  • choose whether to redirect non-authorized users to a page or url
  • choose the page or enter the url

Once your site is ready to be made available again, simple uncheck the “Enable” box.

屏幕截图

  • Overview of the plugin settings

安装

  1. Upload the ‘cgc-maintenance-mode’ folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Go to Settings > Maintenance Mode

常见问题

Installation Instructions
  1. Upload the ‘cgc-maintenance-mode’ folder to the /wp-content/plugins/ directory
  2. 通过WordPress的的“Plugins”菜单激活插件
  3. Go to Settings > Maintenance Mode

评价

2016年9月3日
Good options, no check if the URL is on the same domain which causes redirect loop.
2016年9月3日
Not sure how I've missed this one until now! Works great, nice to be able to use our own page/template as the maintenance page.
2016年9月3日
Exactly what I wanted, easy to use and efficient!
阅读所有11条评价

贡献者及开发者

“CGC Maintenance Mode” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

将“CGC Maintenance Mode”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.2.1

  • Tested with latest version of WordPress

1.2

  • New: Added support for permitting site admins to view the site without an IP address
  • New: Added support for including comments on IP addresses

1.1

  • Fixed undefined notice errors on first install
  • Fixed an issue where the IP of the visitor wasn’t always properly detected
  • Added a simple check for local IP addresses

1.0

  • Initial release