Title: Protect WP Admin
Author: WP-EXPERTS.IN
Published: <strong>oktýabr 20, 2014</strong>
Last modified: fewral 5, 2026

---

Search plugins

![](https://ps.w.org/protect-wp-admin/assets/banner-772x250.jpg?rev=2313728)

![](https://ps.w.org/protect-wp-admin/assets/icon-128x128.png?rev=1016876)

# Protect WP Admin

 By [WP-EXPERTS.IN](https://profiles.wordpress.org/india-web-developer/)

[Download](https://downloads.wordpress.org/plugin/protect-wp-admin.4.2.zip)

 * [Details](https://tuk.wordpress.org/plugins/protect-wp-admin/#description)
 * [Reviews](https://tuk.wordpress.org/plugins/protect-wp-admin/#reviews)
 *  [Installation](https://tuk.wordpress.org/plugins/protect-wp-admin/#installation)
 * [Development](https://tuk.wordpress.org/plugins/protect-wp-admin/#developers)

 [Support](https://wordpress.org/support/plugin/protect-wp-admin/)

## Description

Protect WP Admin adds an extra security layer to your WP site by allowing you to
rename and secure the wp-admin and wp-login.php URLs.

 * Change default admin URL (e.g., /wp-admin to /myadmin)
 * Restrict access to dashboard by roles or specific user IDs
 * Customize login page colors and logo
 * Block access to default login URLs

Stop bots and hackers from brute-forcing your login page. This plugin is ideal for
any site looking to increase login security without modifying core files.

**Video Demo:**
 https://youtu.be/Mxr2MLDNACE

**Pro Add-on Available:**
 [Click here to download add-on](https://www.wp-experts.in/products/protect-wp-admin-pro)

#### Features

 * Define Custom WP Admin Login URL (e.g., http://yourdomain.com/myadmin)
 * Add custom logo and styling to login page
 * Restrict wp-admin access to only admin or defined user IDs
 * Redirect all unauthorized users and bots

#### Pro Features

 * Rename wp-admin completely
 * Set login attempt limits
 * Track login history
 * Change usernames
 * More style controls

**Get the Pro Version:**
 [Protect WP Admin Pro](https://www.wp-experts.in/products/protect-wp-admin-pro/?utm_source=wordpress.org&utm_medium=free-plugin&utm_campaign=15off)

### License

This plugin is licensed under the GPLv2 or later.
 https://www.gnu.org/licenses/
gpl-2.0.html

## Screenshots

 * [[
 * Settings Panel
 * [[
 * Login Customization
 * [[
 * Restriction Settings
 * [[
 * Pro Features Preview
 * [[
 * Login Tracker (Pro)
 * [[
 * [[
 * [[

## Installation

 1. Upload the plugin folder to `/wp-content/plugins/`
 2. Activate the plugin via the Plugins screen
 3. Go to **Settings > Protect WP Admin** to configure the plugin
 4. Update permalink structure under **Settings > Permalinks** (important!)

## FAQ

### I’m locked out of admin. What can I do?

Rename the plugin folder via FTP (e.g., `/protect-wp-admin` to `/pwa-disabled`).
This disables the plugin.

### I see a 404 page at the new login URL

Ensure your `.htaccess` is writable and permalinks are not set to “Plain.”

### Can I restrict users by role?

Yes. Only administrators or allowed user IDs will have wp-admin access if enabled.

### Does it work with custom themes?

Yes. It works independently of your theme.

### Does it block brute force attacks?

It blocks access to the default login URLs, which stops many automated attacks.

## Reviews

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

### 󠀁[Simple Its all done.](https://wordpress.org/support/topic/simple-its-all-done/)󠁿

 [truekandyan](https://profiles.wordpress.org/truekandyan/) iýul 17, 2021

Thank you for giving us Simple and Amazing plugin. Please check Login form customizing
is not working. Hide wp-admin is working good. Thanks again.

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

### 󠀁[A loophole has been found by hackers](https://wordpress.org/support/topic/a-loophole-has-been-found-by-hackers/)󠁿

 [samuel](https://profiles.wordpress.org/samueljbwong/) maý 3, 2021

A loophole has been found by hackers. My websites have been attacked by login brute-
force thousands times everyday. Hackers could access wp-login.php directly when 
Protect-wp-admin was enabled. I try disabling the file access to wp-login.php in.
htaccess but it also disable accessing the login page via the URL defined in Protect-
wp-admin. Finally, it makes this plugin useless.

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

### 󠀁[Plugin created a redirect loop after WordPress version update](https://wordpress.org/support/topic/plugin-created-a-redirect-loop-after-wordpress-version-update/)󠁿

 [elasticio](https://profiles.wordpress.org/elasticio/) mart 1, 2021

After updating the Wordpress version to 5.6, none of my team could log in any longer.
Both URLs, the one created through the plugin and the original wp-admin link, kept
redirecting to the Homepage. I had to deactivated all the plugins via MyPHPAdmin
to get back the control of our website. This plugin was the first I reactivated 
and I could immediately replicate the issue. This is imho not acceptable.

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

### 󠀁[Works perfect & Awesome support](https://wordpress.org/support/topic/works-perfect-awesome-support-2/)󠁿

 [ichmirmich](https://profiles.wordpress.org/ichmirmich/) ýanwar 21, 2021

The plugin works as expected and after a recent WP update, it didn’t work anymore.
contacted the support and they helped me out super quick.

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

### 󠀁[NOT compatible with WP 5.6](https://wordpress.org/support/topic/not-compatible-with-wp-5-6/)󠁿

 [bsp7744](https://profiles.wordpress.org/bsp7744/) ýanwar 11, 2021 2 replies

Junk, do not use. Updated to Wordpress 5.6 and I am now locked out of ALL my websites.
Avoid at all costs.

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

### 󠀁[Cannot login](https://wordpress.org/support/topic/cannot-login-110/)󠁿

 [pivonka1975](https://profiles.wordpress.org/pivonka1975/) dekabr 10, 2020 1 reply

Cannot log in today after WordPress 5.6 renewal, have to disable this plugin via
FTP. Bad experience!

 [ Read all 50 reviews ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/)

## Contributors & Developers

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

Contributors

 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/india-web-developer/)
 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/wpexpertsin/)

“Protect WP Admin” has been translated into 1 locale. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin/contributors)
for their contributions.

[Translate “Protect WP Admin” into your language.](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin)

### Interested in development?

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

## Changelog

#### 4.0

 * Fixed major bug
 * Tested with WordPress 6.6.2

#### 3.8

 * Security updates
 * Tested with WordPress 5.9.3

#### 3.7

 * Fixed URL issue
 * Code optimization

#### 3.6

 * Optimized code and security
 * Tested with WordPress 5.8.2

#### 3.5

 * Resolved double slash issue in login URL

#### 3.4

 * Added admin bar restriction for non-admin users

#### 3.3

 * Fixed login page not found when installed in subdirectory
 * Released Add-on v2.0

#### 3.0 – 1.0

 * Initial stable releases with improvements and bug fixes

## Meta

 *  Version **4.2**
 *  Last updated **2 months ago**
 *  Active installations **10,000+**
 *  WordPress version ** 6.0 or higher **
 *  Tested up to **6.9.4**
 *  Languages
 * [English (US)](https://wordpress.org/plugins/protect-wp-admin/) and [Swedish](https://sv.wordpress.org/plugins/protect-wp-admin/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin)
 * Tags
 * [admin url](https://tuk.wordpress.org/plugins/tags/admin-url/)[protect admin](https://tuk.wordpress.org/plugins/tags/protect-admin/)
   [secure admin](https://tuk.wordpress.org/plugins/tags/secure-admin/)[secure login](https://tuk.wordpress.org/plugins/tags/secure-login/)
 *  [Advanced View](https://tuk.wordpress.org/plugins/protect-wp-admin/advanced/)

## Ratings

 3.6 out of 5 stars.

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

[Add my review](https://wordpress.org/support/plugin/protect-wp-admin/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/protect-wp-admin/reviews/)

## Contributors

 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/india-web-developer/)
 *   [ WP-EXPERTS.IN ](https://profiles.wordpress.org/wpexpertsin/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/protect-wp-admin/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A)