Protect Your Admin


Hide your WP Admin URL by rename deafult wordpress admin URL (i.e /wp-admin or /wp-login.php)

If you run a WordPress website, you should absolutely use “protect-wp-admin” to secure it against hackers.

Protect WP-Admin fixes a glaring security hole in the WordPress community: the well-known problem of the admin panel URL.
Everyone knows where the admin panel, and this includes hackers as well.

FLAT 20% DISCOUNT ON ADD-ON. No Coupon Code Required. Hurry! Limited Time Offer!

Protect WP-Admin solve this problem by allowing administrator to customize their admin panel URL and blocking the default links.

Administrator will be able to change default login page url “” to something like “”, so after that guest user will be redirect to the homepage.

The plugin also comes with some access filters, allowing Administrator to restrict guest and registered users access to wp-admin, just in case you want some of your editors to log in the classic way.

It is extremely important to back up your database before beginning the activate plugin. If, for some reason, you find it necessary to restore your database from these backups. Plugin will not work for IIS SERVER.

Click here to download Add-on


  • Define custom wp-admin url(i.e
  • Define custom Logo OR change default logo on login page
  • Define Login page background color
  • Define Login page text color
  • SEO friendly URL for “Register” page (i.e
  • SEO friendly URL for “Lost Password” page (i.e
  • Restrict guest users for access to wp-admin
  • Restrict registered non-admin users from wp-admin
  • Allow admin access to non-admin users by define comma seprate multiple ids

Add-on Features

We have also released an add-on for Protect-WP-Admin which not only demonstrates the flexibility of Protect-WP-Admin, but also adds some important features

  • Login Attempt Counter
  • An option to define login page logo URL
  • An option to manage login page CSS from admin
  • An option to change username of any user from admin
  • An option to define custom redirect url for defalut wp-admin url
  • Faster support

FLAT 20% DISCOUNT ON ADD-ON. No Coupon Code Required. Hurry! Limited Time Offer!

Click here to download Add-on

Add-on Features


  • screenshot-1.png

  • screenshot-2.png

  • screenshot-3.png

  • screenshot-4.png

  • screenshot-5.png


In most cases you can install automatically from WordPress.

However, if you install this manually, follow these steps:

  • Step 1. Upload “protect-wp-admin-pro” folder to the /wp-content/plugins/ directory
  • Step 2. Activate the plugin through the Plugins menu in WordPress
  • Step 3. Go to Settings “Protect WP-Admin Pro” and configure the plugin settings.


1.) Nothing happen after enable and add the new wordpress admin url?

Don’t worry, Just update the site permalink (“Settings” >> “Permalinks”) and re-check,Now this time it will be work fine

2.) Not able to login into admin after enable plugin?

May be issue can come when you not give proper writable permission on htaccess file OR you have not update permalink settings to SEO friendly url from admin. You can access login page url with default wp-admin slug after disable my plugin, you can disable plugin through FTP by rename protect-wp-admin folder to any other one.

3.) I am not able to login after installation

Basicaly issues can come only in case when you will use default permalink settings.
If your permalink will be update to any other option except default (Plain) then it will be work fine. Feel free to contact us over email for any query

Can I change username of existing users ?

Yes, You can change username of your existing users from admin, This featue is available in our addon.

Can I set login attempt count for unsucessfull attemp?

Yes, You can set the number of unsuccessfull attempt, This featue is available in our addon.

Can I acess login hostory of users from admin using this plugin?

Yes, You can see the login history from plugin settings page. This featue is available in our addon.

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule ^newadmin/?$ /wp-login.php [QSA,L]
RewriteRule ^newadmin/register/?$ /wp-login.php?action=register [QSA,L]
RewriteRule ^newadmin/lostpassword/?$ /wp-login.php?action=lostpassword [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]

Don not forgot to update the “newadmin” slug with your new admin slug (that you were added during update the plugin settings) 🙂

4.) Is there any option for set number of login attempt?
* Yes, this option is available in pro addon not in free version. please browse this url for purchase to pro addon.


May 6, 2020
I strongly recommend this Plug-in, they have fantastic service and this crew has a very professional approach as they will return your help call within minutes helping you trouble shoot your problems about my. This Plug in is so beneficial Im glad I have installed it on my website from the very beginning at the early stages of my site!
June 18, 2019
Cannot LOGIN on re write login page, How to Reset this, i folow your documentaion change file .htacces but still cannot login
January 25, 2019
I'd have loved to get this to work, I uploaded and activated the plugin, added the 3 lines of code into .htaccess but wp-admin was still accessible (even after complete cache clear) but the actual website was now a 500 Server error 🙁
January 23, 2019
konecne plugin, ktory pracuje spravne, akurat nie je mozne menit pozadie
August 29, 2018
This product works great to protect my WP installation. I was updating plugins today and was having issues. I originally thought this plugin was the issue but Raghunath helped me troubleshoot and we discovered it was a different plugin! Thank you so much Raghunath!
Read all 45 reviews

Contributors & Developers

“Protect Your Admin” is open source software. The following people have contributed to this plugin.


Translate “Protect Your Admin” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log


  • Tested with new wordpress version 5.4
  • Added text color option
  • Fixed DOING_AJAX notice error
  • Released addon new version 1.9


  • Tested with new wordpress version 5.0.2
  • Fixed some minor issues


  • Tested with new wordpress version 4.9.8
  • Fixed some minor issues


  • Fixed admin access issues


  • Tested with new wordpress version 4.9.7
  • Optimized code of the plugin


  • Tested with new wordpress version 4.9.4
  • Fixed getimagesize() function issue for HTTPS urls


  • Tested with new wordpress version 4.8.1
  • Added upload image lighbox and color picker


  • Tested with new wordpress version 4.8.1
  • Added upload image lighbox and color picker


  • Tested with new wordpress version 4.8


  • Fixed links issues on login, forget and register page for all language
  • Fixed access the wp login page using new admin slug even admin is already logged in


  • Tested with new wordpress version 4.7
  • Fixed images logo image notice error issue.


  • Tested with new wordpress version 4.6.1
  • Fixed images size logo issue
  • Modify code for redirect user to new admin url


  • Tested with new wordpress version 4.5.3
  • Optmized plugin code


  • Tested with new wordpress version 4.5.2


  • Tested with new wordpress version 4.5
  • Removed localhost permission related conditions.


  • Fixed htaccess writable notice popup related issues on localhost
  • Add an new confirmation alert before enable plugin


  • Fixed Login Failure issue
  • Released Pro Addon


  • Fixed forget password email issue
  • Fixed forgot password link issue on login error page


  • Fixed wp-login.php issue for www url


  • Fixed wp-login url issue
  • Fixed wp-admin url issue


  • Fixed links issue on “Register”, “Login” & “Lost Password” As Per New Admin Url
  • Fixed the “Register”, “Login” & “Lost Password” Form Action URL As Per New Admin Url
  • Add validation to check SEO firendly url enable or not.
  • Add validation to check .htaccess file is writable or not.


  • Added an option for define to admin login page logo
  • Added an option for define to wp-login page background-color
  • Fixed some minor css issues


  • Added new option for allow admin access to non-admin users
  • Added condition for check permalink is updated or not
  • Fixed a minor issues (logout issues after add/update admin new url)


  • Add new option for restrict registered users from wp-admin
  • Fixed permalink update issue after add/update admin new url. Now no need to update your permalink
  • Add option for redirect user to new admin url after update the new admin url


  • First stable release