Overview概覽

This Plugin allows you to make your blog temporarily unavailable to your users (with custom message).此插件可以讓您,使您的博客暫時無法向您的用戶(與自訂訊息) 。 It is still accessible by the administrators.它仍是進入的管理員。

It does one thing and does it well.但這一件事,是否良好。 It belongs to the class of zero-configuration plugins.它屬於一類零配置插件。 In other words even your grandmother can use it.在其他的話,甚至您的祖母可以使用它。

Download下載

Download下載 and follow the instructions in the next section for installation.並按照指示在下一節中進行安裝。

Installation安裝

http://codex.wordpress.org/Managing_plugins#Installing_a_plugin http://codex.wordpress.org/managing_plugins # installing_a_plugin

Note: This Plugin supports one-click-install through WordPress Plugin Manager and is also available from 注意:此插件支持一點擊安裝通過wordpress插件經理和也可以從 WordPress Plugin DB wordpress插件分貝 .

  1. Upload unavailable.php to your wp-content/plugins directory.上傳unavailable.php到您的wp-content/plugins目錄。 At this point you are done unless you want to make your site unavailable now.在這一點上你是這樣做,除非您想要讓您的網站現在無法使用。 Then read on.然後閱讀。
  2. Log in to WordPress.請登錄到的WordPress 。
  3. Click Plugins from the main menu.點擊插件從主菜單。
  4. Scroll to find the name of the plugin - Site Unavailable , and click Activate whenever you want to make your site unavailable.向下滾動才能找到的名稱,該插件-網站無法使用,並點擊激活時,您想要讓您的網站無法使用。

Configuration and Usage配置和使用

Install and activate the plugin as described above.安裝並啟用該插件如上文所述。 You are done!你這樣做!

Now your site is unavailable to all of your users, till the time you decide to deactivate the plugin.現在您的網站是無法使用您的所有用戶,到時候你決定要關閉插件。

To reiterate the site will remain unavailable to all your users while this plugin is activated .要重申, 該網站仍無法將您的所有用戶,而此插件被激活

The Feeds and Trackback requests will be sent HTTP Code 503 indicating that the Server is Unavailable and they will be asked to retry after an hour (configurable).飼料和跟踪的要求,將被發送的HTTP代碼503表明該服務器不可用,他們將被要求重試後一小時(配置) 。

Administrators can access the administrative section even while this plugin is activated.管理員可以訪問行政科,甚至而此插件被激活。

Advanced先進

You do not need to read this section.您不需要閱讀本節規定。 The plugin will work fine without any changes at all.插件工作將罰款不作任何改變,在所有。 However if you are compulsive and feel the urge to tinker then read on.不過如果你是強迫和感受的衝動修飾,然後閱讀。

To change the default message ( This blog is currently undergoing scheduled maintenance. Please try after 60 minutes. Sorry for the inconvenience. ) use the plugin editor to edit the plugin.要更改默認的郵件( 此博客是目前正在進行定期維修,請重試後60分鐘。不便表示抱歉。 )使用插件編輯器編輯插件。 Change the line where $message is specified to a message of your choice.改變行,其中美元的信息是指定到一個訊息,您的選擇。

You can change the Retry-After hint given to Feed and Trackback requests by changing $retry_after.你可以改變重試後的提示,給飼料和跟踪的要求,通過改變美元retry_after 。 The value is in minutes.價值是在分鐘。 The default is 60 minutes.預設值是60分鐘。 It also tells the users of the site when to retry again.它也告訴用戶該網站時,再次重試。

This is very useful when you do a scheduled maintenance and you want your users to come back after a fixed time.這是非常有用的當您執行定期維修,和您希望您的用戶回來後,一個固定的時間。
Remember this is a hint.請記住,這是一個暗示。 It has no bearing with when you make your site actually available ( by deactivating the plugin ).它沒有軸承,當您,使您的網站,其實可用的(由停用插件) 。

Deactivate the plugin from the Plugin screen停用插件從插件屏幕 to make the site available again to the world.使網站可以再次向世界。


Uninstallation卸載

  1. Log in to WordPress.請登錄到的WordPress 。
  2. Click Plugins from the main menu.點擊插件從主菜單。
  3. Scroll to find the name of the plugin - Site Unavailable , and click Deactivate.向下滾動才能找到的名稱,該插件-網站無法使用,並點擊關閉。 This disables the plugin and makes the site available again to all.這將禁用插件,使網站可以再次向所有。

You can also delete the unavailable.php file from wp-content/plugins directory for permanent removal.您也可以刪除unavailable.php文件從wp-content/plugins目錄為永久刪除。

Cost成本

This plugin is free.此插件是免費的。 However a linkback will be deeply appreciated.不過, linkback會深表讚賞。 Think of it as a LinkWare.認為這是作為一個linkware 。

Comments, feedbacks and suggestions are welcome.評論,意見和建議,是值得歡迎的。