Delivering the best Add-Ons in more than 37 languages.

中文(简体), English, हिन्दी/हिंदी, Español/Castellano, العربية, Русский язык, Français, 中文 (台灣), বাংলা, Bahasa Indonesia, اردو, Português, Deutsch, Bahasa Melayu (بهاس ملايو‎), 日本語 (にほんご), فارسی, Italiano, తెలుగు, Türkçe, ગુજરાતી, Język polski/polszczyzna, Tiếng Việt, ಕನ್ನಡ, Українська мова, ไทย
WordPress / Utilities


— Add-On to

Subscribe to our feed to stay up to date!

New! Follow us as you want it!

WP-Restrict - CodeCanyon Item for Sale


Ad: Bluehost hosting

What is WP-Restrict?

WP-Restrict is a WordPress plugin that allows WordPress admins to restrict access to their web site based on IP addresses.

Use WP-Restrict to block all access to your web site, only allowing those in your ‘allowed list’, through the use of.htaccess rules.


WP-Restrict has two management User Interfaces. The main user interface allows you to view all your ‘allowed list’ IP addresses. This interface also allows you to delete IP addresses too. The second interface allows you add new IP addresses.

Both interfaces offer tips and advise if the module finds any problems. For example, if your.htaccess file is not writable, a alert message will be displayed.

You can sort your allowed list by IP address accending or descending.

The plugin has its own activate and deactivate options in the WordPress main plugins page.

How does it work?

It’s really simple.

Once you install the WP-Restrict plugin on your WordPress website, WP-Restrict first creates a new table in your MySQL database with some initial setup settings.

WP-Restrict then carries out some checks to make sure the module can run correctly. If WP-Restrict finds any problems, an alert message will be shown with tips and advise on how to resolve the problem.

Once WP-Restrict is ready to rock and roll, it first checks to see if you have an existing.htaccess file. If one is found, WP-Restrict adds your current IP address with comments so your website is instantly locked down so only you can access it.

When you visit the main user interface, you can manage your allowed IP addresses. You can also add new IP addresses too.

If you add or remove an IP address from the list, WP-Restrict updates your.htaccess file automatically with any comments you provided.

If you deactivate WP-Restrict, WP-Restrict will remove all the allowed list IP addresses from your.htaccess. It also removes its MySQL database tables.

Other components in this categoryAll components of this author
CommentsFrequently asked questions and answers


18 December 11

Last Update:
18 December 11

High Resolution:

Compatible Browsers:
IE6, IE7, IE8, IE9, IE10, IE11, Firefox, Safari, Opera, Chrome

Files Included:

Software Version:
WordPress 4.2, WordPress 4.1, WordPress 4.0, WordPress 3.9, WordPress 3.8, WordPress 3.7, WordPress 3.6, WordPress 3.5, WordPress 3.4, WordPress 3.3, WordPress 3.2, WordPress 3.1, WordPress 3.0


eCommerce, eCommerce, All Items, allow access, block access, block ips, block users, deny access, htaccess, ip, ip address, restrict, wordpress, wp, WP-Restrict