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

WP htpasswd

描述

This plugin simplifies the life of WordPress users.
Now you can easily create an htpasswd file to improve security of your site.
Set and edit username and password, decide whether to enable or not the protection and the plugin will create a .htpasswd file and also add the necessary code to .htaccess file.
You can also enable or disable protection and choose to change the permissions of .htaccess and .htpasswd files’ and set those to 444. This improve your security.

Plugin available on GitHub.

屏幕截图

  • Sample view of the plugin page.

安装

  1. Upload wp-htpasswd directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Now you have a new admin page “WP htpasswd”, here you can set username and password or disable/enable the protection

常见问题

Installation Instructions
  1. Upload wp-htpasswd directory to the /wp-content/plugins/ directory
  2. Activate the plugin through the “Plugins” menu in WordPress
  3. Now you have a new admin page “WP htpasswd”, here you can set username and password or disable/enable the protection
Can I choose username and password?

Yes, you can.

Can I disable the .htpasswd protection?

Yes, checking the box “Enable” you can enable or disable the protection without loose username and password.

Can I edit manually .htaccess and .htpasswd or not?

Sure! The plugin add the code at the end of .htaccess between some tags, so if you do not edit this code you can add anything on file.

评价

2018年3月13日
This plugin improve the security of your website during development. It’s perfect to protect your directory. Easy to install, very easy to create username & password. Good job!
阅读所有2条评价

贡献者及开发者

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

贡献者

将“WP htpasswd”翻译成您的语言。

对开发感兴趣吗?

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

更新日志

1.0

  • Release Date – 12 March 2018 *

1.5

  • Release Date – 15 March 2018 *

  • Bug fixing

  • Added a button to show / hide the password to reduce typing errors and make you more confident of the password.
  • In this version introduce option “rewrite permissions”, this feature allow you to change the permissions of .htaccess and .htpasswd files’ and set those to 444. This improve your security.

1.6

  • Release Date – 25 March 2018 *

  • Bug fixing

  • Added a check about files permissions

1.7

  • Release Date – 27 March 2018 *

  • Bug fixing