Ready to get started?Download WordPress

Plugin Directory

Rename wp-login.php

Change wp-login.php to anything you want. It can also prevent a lot of brute force attacks.

Rename wp-login.php is a very light plugin that lets you easily and safely change wp-login.php to anything you want. It doesn’t literally rename or change files in core, nor does it add rewrite rules. It simply intercepts page requests and works on any WordPress website. The wp-admin directory and wp-login.php page become inaccessible, so you should bookmark or remember the url. Deactivating this plugin brings your site back exactly to the state it was before.


Requires WordPress 3.8 or higher. All login related things such as the registration form, lost password form, login widget and expired sessions just keep working.

It’s also compatible with any plugin that hooks in the login form, including

  • BuddyPress,
  • bbPress,
  • Limit Login Attempts,
  • and User Switching.

Obviously it doesn’t work with plugins that hardcoded wp-login.php.

This also works with multisite! Activating it for a network allows you to set a networkwide default. Individual sites can still rename their login page to something else.

If you’re using a page caching plugin you should add the slug of the new login url to the list of pages not to cache. For W3 Total Cache and WP Super Cache this plugin will give you a message with a link to the field you should update.


Not only does it allow you to further customise your login page, it also prevents brute force attacks that are targeted specifically to wp-login.php. Both the wp-login.php page and the wp-admin directory (if not logged in) become inaccessible.

While you could use this plugin to prevent a lot of brute force attacks, it does not mean you don’t need a strong password. Read this codex article for more information on how to protect your website.

Of course, if you want to keep your login page secret, you should make sure there aren’t any links pointing to it on your website.


This plugin has a mirror on GitHub.

Requires: 3.8 or higher
Compatible up to: 3.9.2
Last Updated: 2014-3-16
Downloads: 59,421


4 stars
5 out of 5 stars


5 of 28 support threads in the last two months have been resolved.

Got something to say? Need help?


Not enough data

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

100,1,1 100,2,2 100,1,1 100,3,3 100,1,1 100,2,2
100,2,2 100,3,3
0,3,0 100,2,2
100,4,4 83,6,5
0,1,0 100,1,1 100,1,1 100,1,1 100,1,1 100,3,3 100,1,1 100,1,1 100,1,1
100,1,1 0,1,0 100,3,3 100,4,4 100,6,6