Plugin Directory

Htaccess by BestWebSoft

Protect WordPress website – allow and deny access for certain IP addresses, hostnames, etc.

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!

Free Features

  • Set the order fields:
    • Allow, Deny
    • Deny, Allow
  • Set the argument info to the directive form:
    • Allow
    • Deny
  • Compatible with latest WordPress version
  • Incredibly simple settings for fast setup without modifying code
  • Detailed step-by-step documentation and videos

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
  • Allow hotlinking based on hostnames
  • Configure all subsites on the network
  • Get answer to your support question within one business day (Support Policy)

Upgrade to Pro Now

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

Documentation & Videos

Help & Support

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


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 to BestWebSoft 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.

Recommended Plugins

  • Updater - Automatically check and update WordPress core with all installed plugins to the latest versions. Manual mode, email notifications and backups of all your files and database before updating.
  • Limit Attempts - Protect WordPress website against brute force attacks. Limit rate of login attempts.


Donations play an important role in supporting open-source projects. We greatly appreciate any donation you can make to help us continue further development of free products.

Donate Now

Requires: 3.8 or higher
Compatible up to: 4.6.1
Last Updated: 3 weeks ago
Active Installs: 700+


4 out of 5 stars


Got something to say? Need help?


Not enough data

0 people say it works.
0 people say it's broken.