Title: Protect WP Admin
Author: WP-EXPERTS.IN
Published: <strong>20 d'octubre de 2014</strong>
Last modified: 5 de febrer de 2026

---

Cerca extensions

![](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

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

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

 * [Detalls](https://ca.wordpress.org/plugins/protect-wp-admin/#description)
 * [Ressenyes](https://ca.wordpress.org/plugins/protect-wp-admin/#reviews)
 *  [Instal·lació](https://ca.wordpress.org/plugins/protect-wp-admin/#installation)
 * [Desenvolupament](https://ca.wordpress.org/plugins/protect-wp-admin/#developers)

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

## Descripció

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)

#### Característiques

 * 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

## Captures

[⌊Settings Panel⌉⌊Settings Panel⌉[

Settings Panel

[⌊Login Customization⌉⌊Login Customization⌉[

Login Customization

[⌊Restriction Settings⌉⌊Restriction Settings⌉[

Restriction Settings

[⌊Pro Característiques Preview⌉⌊Pro Característiques Preview⌉[

Pro Característiques Preview

[⌊Login Tracker (Pro)⌉⌊Login Tracker (Pro)⌉[

Login Tracker (Pro)

[[

[[

[[

## Instal·lació

 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!)

## PMF

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

## Ressenyes

![](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/) 17 de juliol de 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/) 3 de maig de 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/) 1 de març de 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/) 21 de gener de 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/) 11 de gener de 2021 2 respostes

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/) 10 de desembre de 2020
1 resposta

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

 [ Llegiu totes les 50 ressenyes ](https://wordpress.org/support/plugin/protect-wp-admin/reviews/)

## Col·laboradors i desenvolupadors

«Protect WP Admin» és programari de codi obert. La següent gent ha col·laborat en
aquesta extensió.

Col·laboradors

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

“Protect WP Admin” s’ha traduït a 1 configuració regional. Gràcies als [traductors](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin/contributors)
per les seves aportacions.

[Traduïu «Protect WP Admin» a la vostra llengua.](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin)

### Interessats en el desenvolupament?

[Navegueu pel codi](https://plugins.trac.wordpress.org/browser/protect-wp-admin/),
baixeu-vos el [repositori SVN](https://plugins.svn.wordpress.org/protect-wp-admin/),
o subscriviu-vos al [registre de desenvolupament](https://plugins.trac.wordpress.org/log/protect-wp-admin/)
per [fisl de subscripció RSS](https://plugins.trac.wordpress.org/log/protect-wp-admin/?limit=100&mode=stop_on_copy&format=rss).

## Registre de canvis

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

 *  Versió **4.2**
 *  Darrera actualització **fa 5 mesos**
 *  Instal·lacions actives **10.000+**
 *  Versió del WordPress ** 6.0 o posterior **
 *  Provada fins a **6.9.4**
 *  Idiomes
 * [English (US)](https://wordpress.org/plugins/protect-wp-admin/) i [Swedish](https://sv.wordpress.org/plugins/protect-wp-admin/).
 *  [Traduïu a la vostra llengua](https://translate.wordpress.org/projects/wp-plugins/protect-wp-admin)
 * Etiquetes
 * [admin url](https://ca.wordpress.org/plugins/tags/admin-url/)[protect admin](https://ca.wordpress.org/plugins/tags/protect-admin/)
   [secure admin](https://ca.wordpress.org/plugins/tags/secure-admin/)[secure login](https://ca.wordpress.org/plugins/tags/secure-login/)
 *  [Vista avançada](https://ca.wordpress.org/plugins/protect-wp-admin/advanced/)

## Valoracions

 3.6 sobre 5 estrelles.

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

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

[Visualitzeu totes les ressenyes](https://wordpress.org/support/plugin/protect-wp-admin/reviews/)

## Col·laboradors

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

## Suport

Teniu quelcom a dir? Necessiteu ajuda?

 [Visualitza els fòrums de suport](https://wordpress.org/support/plugin/protect-wp-admin/)

## Feu una donació

Voleu ajudar a què l’extensió millori?

 [ Feu una donació a aquesta extensió ](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=ZEMSYQUZRUK6A)