=== Htaccess by BestWebSoft === Contributors: bestwebsoft Donate link: http://bestwebsoft.com/donate/ Tags: access, allow directive, control access, deny directive, directive block, htaccess, htaccess plugin, website access, protection, lockdown, safety, website security Requires at least: 3.8 Tested up to: 4.5.2 Stable tag: 1.7.2 License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html The plugin Htaccess allows controlling access to your website using the directives Allow and Deny. == Description == The plugin Htaccess allows to controll access to your website. Access can be controlled based on the client's hostname, IP address, or other characteristics of the client's request. It is very simple and has just two the directives like Allow and Deny. http://www.youtube.com/watch?v=-Y-qw8cF9yk Htaccess by BestWebSoft Video instruction on Installation Htaccess by BestWebSoft FAQ Htaccess by BestWebSoft Support Upgrade to Htaccess Pro by BestWebSoft = Features = * Allows to edit the directive block of .htaccess file. * Allow access to the xml files (for network, which based on sub-directories). If you have a feature, suggestion or idea you'd like to see in the plugin, we'd love to hear about it! Suggest a Feature = Recommended Plugins = The author of the Htaccess also recommends the following plugins: * Updater - This plugin updates WordPress core and the plugins to the recent versions. You can also use the auto mode or manual mode for updating and set email notifications. There is also a premium version of the plugin Updater Pro with more useful features available. It can make backup of all your files and database before updating. Also it can forbid some plugins or WordPress Core update. = Translation = * Polish (pl_PL) (thanks to Damian Dąbrowski) * Russian (ru_RU) * Ukrainian (uk) If you create your own language pack or update an existing one, you can send the text of PO and MO files for BWS and we'll add it to the plugin. You can download the latest version of the program for work with PO and MO files Poedit. == Installation == 1. Upload `htaccess` folder to the `/wp-content/plugins/` directory. 2. Activate the plugin through the 'Plugins' menu in WordPress. 3. Plugin settings are located in 'BWS Plugins', 'Htaccess'. View a PDF version of Step-by-step Instruction on Htaccess Installation. http://www.youtube.com/watch?v=_V9FiMPwvtA == Frequently Asked Questions == = How will the plugin work with the existing .htaccess file? = If the file exists and there is a Directive block in it, the plugin will add the settings of this block to the settings page and after saving the changes it will update only the Directive block in the existing .htaccess file. = What should I do if the .htaccess file does not exist? = The plugin will store the settings in the database and add all the necessary conditions of the directive block to the settings of WordPress automatically. = How will the plugin work if after saving the changes there will appear a .htaccess file in the root directory of the site? = The plugin will get the data of the Directive block from .htaccess file automatically regardless of the previously configured settings. = What should I do if after making changes in the .htaccess file with the help of the plugin my site stops working? = The .htaccess is located in the site root. With your FTP program or via Сpanel go to the site root, open the .htaccess file and delete the necessary strings manually. Please make use of the following information: http://codex.wordpress.org/FTP_Clients = What is content theft (hotlinking), and how do I protect myself against it? = To find out about hotlinking and the ways you can prevent it, please check our article dedicated to the topic. In this article, you will find all the necessary data that will give you a heads up and help you avoid hotlinking on your website. == How can I update the list of IPs after updating the plugin to V1.7.2? == In Htaccess by BestWebSoft V1.7.2 we moved all IPs that have been added to .htaccess automatically via plugin`s interaction hooks to "automatically added" plugin options. Since this update, they won't be stored in the database but in the ".htaccess" file only. This was made in order to reduce the size of the database. If you use some plugins that interact with the Htaccess by BestWebSoft plugin (e.g. Limit Attempts or Limit Attempts Pro by BestWebSoft), please go the Htaccess settings page and make sure that all IPs from IP lists of this plugin has been moved to "Deny from (automatically added)" and "Allow from (automatically added)" correctly. If some IPs from that lists are still in the "Deny from" and "Allow from" options, please remove them manually and save changes. = I have some problems with the plugin's work. What Information should I provide to receive proper support? = Please make sure that the problem hasn't been discussed yet on our forum (http://support.bestwebsoft.com). If no, please provide the following data along with your problem's description: 1. the link to the page where the problem occurs 2. the name of the plugin and its version. If you are using a pro version - your order number. 3. the version of your WordPress installation 4. copy and paste into the message your system status report. Please read more here: Instruction on System Status == Screenshots == 1. Plugin settings page. 2. Plugin settings page on network. == Changelog == = V1.7.2 - 05.05.2016 = * Update : All IPs that have been added to .htaccess automatically via plugin`s interaction hooks moved to "automatically added" options and won't be stored in the database. If you also use Limit Attempts or Limit Attempts Pro by BestWebSoft plugins, please pay attention to the fact that you may need to update list of IPs on the Htaccess by BestWebSoft settings page. For more info see FAQ. * Update : All functionality for wordpress 4.5.1 has been updated. * Bugfix : The bug with converting of IPv4 ranges like xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy to the CIDR has been fixed. = V1.7.1 - 19.02.2016 = * Update : Functionality for saving plugin settings has been updated. * Update : Compatibility with the Limit Attempts plugin has been updated. * Bugfix : The bug with adding plugin directions to .htaccess has been fixed. * Bugfix : The bug with plugin menu duplicating has been fixed. = V1.7.0 - 05.10.2015 = * Update : We updated all functionality for wordpress 4.3.1. * Update : Auxiliary notices were added. Tooltips displaying was updated. = V1.6.9 - 20.08.2015 = * NEW : Ability to allow access to the xml files ( for network, which based on sub-directories ). = V1.6.8 - 14.07.2015 = * NEW : Ability to restore settings to defaults. = V1.6.7 - 11.06.2015 = * Bugfix : We fixed the error with Order Deny Alow lines overflow in the .htaccess file. = V1.6.6 - 11.05.2015 = * NEW : The Polish language file is added to the plugin. * Update : We updated all functionality for wordpress 4.2.2. = V1.6.5 - 01.04.2015 = * Bugfix : An error that occurs when Order Deny,Alow entries are manually added to .htaccess file was fixed. * Update : BWS plugins section is updated. = V1.6.4 - 02.03.2015 = * Bugfix : We fixed plugin errors when working on multisite * Bugfix : We fixed the error deleting IP addresses when working with the Limit Attempts plugin = V1.6.3 - 20.02.2015 = * Update : We updated all functionality for wordpress 4.1.1 * Update : BWS plugins section is updated. = V1.6.2 - 28.01.2015 = * Update : We updated all functionality for Limit Attempts Pro plugin. = V1.6.1 - 12.01.2015 = * Update : BWS plugins section is updated. * Update : We updated all functionality for wordpress 4.1. = V1.6 - 06.10.2014 = * Bugfix : Bug with access rights to an .htaccess file was fixed. = V1.5 - 07.08.2014 = * Bugfix : Security Exploit was fixed. = V1.4 - 28.07.2014 = * Update : We updated all functionality for Limit Attempts plugin. = V1.3 - 14.05.2014 = * NEW : The Ukrainian language file is added to the plugin. * Update : We updated all functionality for wordpress 3.9.1. = V1.2 - 04.04.2013 = * Update : Screenshots are updated. * Update : BWS plugins section is updated. * Budfix : Plugin optimization is done. = V1.1 = * NEW: The ability to change the Directive block of the existing .htaccess file was added. Plugin optimization is done. == Upgrade Notice == = V1.7.2 = All IPs that have been added to .htaccess automatically via plugin`s interaction hooks moved to "automatically added" options and won't be stored in the database. If you also use Limit Attempts or Limit Attempts Pro by BestWebSoft plugins, please pay attention to the fact that you may need to update list of IPs on the Htaccess by BestWebSoft settings page. For more info see FAQ. All functionality for wordpress 4.5.1 has been updated. The bug with converting of IPv4 ranges like xxx.xxx.xxx.xxx-yyy.yyy.yyy.yyy to the CIDR has been fixed. = V1.7.1 = Functionality for saving plugin settings has been updated. Compatibility with the Limit Attempts plugin has been updated. The bug with adding plugin directions to .htaccess has been fixed. The bug with plugin menu duplicating has been fixed. = V1.7.0 = We updated all functionality for wordpress 4.3.1. Auxiliary notices were added. Tooltips displaying was updated. = V1.6.9 = Ability to allow access to the xml files ( for network, which based on sub-directories ). = V1.6.8 = Ability to restore settings to defaults. = V1.6.7 = We fixed the error with Order Deny Alow lines overflow in the .htaccess file. = V1.6.6 = The Polish language file is added to the plugin. We updated all functionality for wordpress 4.2.2. = V1.6.5 = An error that occurs when Order Deny,Alow entries are manually added to .htaccess file was fixed. BWS plugins section is updated. = V1.6.4 = We fixed the error deleting IP addresses when working with the Limit Attempts plugin. We fixed plugin errors when working on multisite. = V1.6.3 = We updated all functionality for wordpress 4.1.1. BWS plugins section is updated. = V1.6.2 = We updated all functionality for Limit Attempts Pro plugin. = V1.6.1 = BWS plugins section is updated. We updated all functionality for wordpress 4.1. = V1.6 = Bug with access rights to an .htaccess file was fixed. = V1.5 = Security Exploit was fixed. = V1.4 = We updated all functionality for Limit Attempts plugin. = V1.3 = The Ukrainian language file is added to the plugin. We updated all functionality for wordpress 3.9.1. = V1.2 = Screenshots are updated. BWS plugins section is updated. Plugin optimization is done. = V1.1 = The ability to change the Directive block of the existing .htaccess file was added.