Title: Htaccess by BestWebSoft &#8211; WordPress Website Access Control Plugin
Author: bestwebsoft
Published: <strong>Februarie 11, 2014</strong>
Last modified: Desember 3, 2025

---

Soek deur uitbreidings

![](https://ps.w.org/htaccess/assets/banner-772x250.jpg?rev=2258184)

![](https://ps.w.org/htaccess/assets/icon-256x256.gif?rev=2620200)

# Htaccess by BestWebSoft – WordPress Website Access Control Plugin

 Deur [bestwebsoft](https://profiles.wordpress.org/bestwebsoft/)

[Laai Af](https://downloads.wordpress.org/plugin/htaccess.1.8.8.zip)

 * [Besonderhede](https://af.wordpress.org/plugins/htaccess/#description)
 * [Aanbevelings](https://af.wordpress.org/plugins/htaccess/#reviews)
 *  [Installation](https://af.wordpress.org/plugins/htaccess/#installation)
 * [Ontwikkeling](https://af.wordpress.org/plugins/htaccess/#developers)

 [Hulp](https://wordpress.org/support/plugin/htaccess/)

## Beskrywing

Htaccess plugin is a simple and useful tool which helps to control the access to
your WordPress website. Allow or deny access based on a hostname, IP address, IP
range, and others. Disable hotlinking and access to xmlrpc.php.

Easily secure your WordPress website!

[View Demo](https://bestwebsoft.com/demo-htaccess-by-bestwebsoft/?ref=readme)

#### Free Features

 * Set the order fields:
    - Allow, Deny
    - Deny, Allow
 * Set the argument info to the directive form:
    - Allow
    - Deny
 * Customize .htaccess file
 * Create a backup with the ability to restore .htaccess file
 * Block by domain and by User Agent
 * Compatible with latest WordPress version
 * Incredibly simple settings for fast setup without modifying code
 * Detailed step-by-step documentation and videos
 * Multilingual and RTL ready

> **Pro Features**
> All features from Free version included plus:
>  * Set the access to the xmlrpc.php:
>     - Access deny
>     - Redirect to the main page
>  * Enable/disable hotlinking
>  * Block domain with .htaccess file
>  * Separate file for blocked and allowed ips
>  * Allow hotlinking based on hostnames
>  * Configure all subsites on the network
>  * Get answer to your support question within one business day ([Support Policy](https://bestwebsoft.com/support-policy/))
> [Upgrade to Pro Now](https://bestwebsoft.com/products/htaccess/?k=a483ae73b932f20e3ab795724abefe53)

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](https://support.bestwebsoft.com/hc/en-us/requests/new)

#### Documentation & Videos

 * [[Doc] User Guide](https://bestwebsoft.com/documentation/htaccess/htaccess-user-guide/)
 * [[Doc] Installation](https://bestwebsoft.com/documentation/how-to-install-a-wordpress-product/how-to-install-a-wordpress-plugin/)
 * [[Doc] Purchase](https://bestwebsoft.com/documentation/how-to-purchase-a-wordpress-plugin/how-to-purchase-wordpress-plugin-from-bestwebsoft/)
 * [[Video] Installation Instruction](https://www.youtube.com/watch?v=_V9FiMPwvtA)

#### Help & Support

Visit our Help Center if you have any questions, our friendly Support Team is happy
to help — [https://support.bestwebsoft.com/](https://support.bestwebsoft.com/)

#### Vertaling

 * Polish (pl_PL) (thanks to [Damian Dąbrowski](https://af.wordpress.org/plugins/htaccess/dabek1812@gmail.com?output_format=md))
 * Russian (ru_RU)
 * Ukrainian (uk)

Some of these translations are not complete. We are constantly adding new features
which should be translated. If you would like to create your own language pack or
update the existing one, you can send [the text of PO and MO files](https://codex.wordpress.org/Translating_WordPress)
to [BestWebSoft](https://support.bestwebsoft.com/hc/en-us/requests/new) 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](https://www.poedit.net/download.php).

#### Recommended Plugins

 * [Updater](https://bestwebsoft.com/products/wordpress/plugins/updater/?k=0cb0bcac78260ef018993d8da560f1c7)–
   Automatically check and update WordPress website core with all installed plugins
   and themes to the latest versions.
 * [Limit Attempts](https://bestwebsoft.com/products/wordpress/plugins/limit-attempts/?k=60cc47e7c0e54ddfb0963d3bba201808)–
   Protect WordPress website against brute force attacks. Limit rate of login attempts.

## Screenshots

 * [[
 * Plugin settings page.
 * [[
 * Plugin network settings page.
 * [[
 * Plugin editor page.

## 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 ‘Htaccess’.

[View a PDF version of Step-by-step Instruction on Htaccess Installation](https://bestwebsoft.com/documentation/how-to-install-a-wordpress-product/how-to-install-a-wordpress-plugin/)

## Kwel-vrae

### 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: [https://codex.wordpress.org/FTP_Clients](https://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](https://bestwebsoft.com/how-to-prevent-hotlinking).
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 have 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 ([https://support.bestwebsoft.com](https://support.bestwebsoft.com)).
If no, please provide the following data along with your problem’s description:
–
The link to the page where the problem occurs – The name of the plugin and its version.
If you are using a pro version – your order number. – The version of your WordPress
installation – Copy and paste into the message your system status report. Please
read more here: [Instruction on System Status](https://bestwebsoft.com/documentation/admin-panel-issues/system-status/)

## Aanbevelings

![](https://secure.gravatar.com/avatar/387646475839fb6d64bd5cb9055290a79e59411c4691a6659e55ab730d099dde?
s=60&d=retro&r=g)

### 󠀁[Nice work](https://wordpress.org/support/topic/nice-work-6/)󠁿

 [gently111](https://profiles.wordpress.org/gently111/) September 30, 2016

Very helpful tool, like it so much Thnx 🙂

![](https://secure.gravatar.com/avatar/6e4bcdcb4749bb317b8260ca1bf9504a16088105d056a2b0d8c5cf0a145a688c?
s=60&d=retro&r=g)

### 󠀁[much room for improvement](https://wordpress.org/support/topic/much-room-for-improvement/)󠁿

 [Mike V. Gorbunov](https://profiles.wordpress.org/michael_zloi/) September 3, 2016
1 reply

sorry, guys, but only 3 stars. the plugin works as it should, but it has 10% of 
functionality needed. please take WP htaccess Control as an example, which is free,
btw.

 [ Read all 2 reviews ](https://wordpress.org/support/plugin/htaccess/reviews/)

## Contributors & Developers

“Htaccess by BestWebSoft – WordPress Website Access Control Plugin” is oopbron sagteware.
Die volgende mense het bygedra tot die ontwikkeling van hierdie uitbreiding:

Contributors

 *   [ bestwebsoft ](https://profiles.wordpress.org/bestwebsoft/)

“Htaccess by BestWebSoft – WordPress Website Access Control Plugin” has been translated
into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/htaccess/contributors)
for their contributions.

[Translate “Htaccess by BestWebSoft – WordPress Website Access Control Plugin” into your language.](https://translate.wordpress.org/projects/wp-plugins/htaccess)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/htaccess/), check out
the [SVN repository](https://plugins.svn.wordpress.org/htaccess/), or subscribe 
to the [development log](https://plugins.trac.wordpress.org/log/htaccess/) by [RSS](https://plugins.trac.wordpress.org/log/htaccess/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### V1.8.8 – 10.08.2025

 * Update : All functionality was updated for WordPress 6.8.2.
 * Update : BWS Panel section was updated.
 * NEW : The ability to block by User-Agent was added.

#### V1.8.7 – 10.05.2024

 * Update : All functionality was updated for WordPress 6.5.2.
 * Update : BWS Panel section was updated.
 * Bugfix : The .htaccess file editing has been fixed.
 * Pro : The ability to save blocked and allowed ips in a separate file was added.

#### V1.8.6 – 23.02.2024

 * Update : All functionality was updated for WordPress 6.4
 * Update : BWS Panel section was updated.
 * Pro : The ability to block domain with .htaccess file was added.

#### V1.8.5 – 26.04.2022

 * Bugfix : Deactivation Feedback fix.

#### V1.8.4 – 24.03.2022

 * Update : All functionality was updated for WordPress 5.9
 * Update : BWS Panel section was updated.

#### V1.8.3 – 20.07.2021

 * Update : All functionality was updated for WordPress 5.8
 * Update : BWS Panel section was updated.

#### V1.8.2 – 10.03.2020

 * Bugfix : Vulnerabilities and security issues were fixed.
 * Update : The plugin settings page was changed.

#### V1.8.1 – 04.09.2019

 * Update: The deactivation feedback has been changed. Misleading buttons have been
   removed.

#### V1.8.0 – 09.01.2019

 * Bugfix : The bug with adding and deleting IP address in Allow from and Deny from
   fields has been fixed.
 * Bugfix : The bug with option Disable Hotlinking has been fixed.
 * Update : All functionality for WordPress 5.0.2 was updated.

#### V1.7.9 – 21.09.2018

 * NEW : The ability to customize .htaccess file was added.
 * NEW : The ability to create backup of .htaccess file was added.
 * NEW : The ability to restore .htaccess file before backup was added.

#### V1.7.8 – 01.02.2018

 * Update : We updated all functionality for WordPress 4.9.2.

#### V1.7.7 – 13.07.2017

 * Update : We updated all functionality for WordPress 4.8.

#### V1.7.6 – 14.04.2017

 * Bugfix : Multiple Cross-Site Scripting (XSS) vulnerability was fixed.

#### V1.7.5 – 21.02.2017

 * Update : We updated all functionality for wordpress 4.7.2.
 * Update : Function to parse .htaccess file was updated.

#### V1.7.4 – 15.08.2016

 * Update : All functionality for WordPress 4.6 was updated.

#### V1.7.3 – 28.06.2016

 * Update : The Polish language file is updated.

#### 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.

## Meta

 *  Version **1.8.8**
 *  Last updated **4 maande gelede**
 *  Active installations **300+**
 *  Tested up to **6.9.4**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/htaccess/), [Russian](https://ru.wordpress.org/plugins/htaccess/),
   en [Ukrainian](https://uk.wordpress.org/plugins/htaccess/).
 *  [Vertaal na jou taal](https://translate.wordpress.org/projects/wp-plugins/htaccess)
 * Tags
 * [access](https://af.wordpress.org/plugins/tags/access/)[control access](https://af.wordpress.org/plugins/tags/control-access/)
 *  [Gevorderde Aansig](https://af.wordpress.org/plugins/htaccess/advanced/)

## Punte-toekennings

 4 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/htaccess/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/htaccess/reviews/?filter=4)
 *  [  1 3-star review     ](https://wordpress.org/support/plugin/htaccess/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/htaccess/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/htaccess/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/htaccess/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/htaccess/reviews/)

## Contributors

 *   [ bestwebsoft ](https://profiles.wordpress.org/bestwebsoft/)

## Hulp

Got something to say? Need help?

 [Gaan na die hulp-forum](https://wordpress.org/support/plugin/htaccess/)

## Skenk

Wil jy graag die ontwikkeling van hierdie uitbreiding ondersteun?

 [ Skenk aan hierdie uitbreiding ](https://bestwebsoft.com/donate/)