How To Rename “wp-admin” in WordPress (Quick)

It’s very important to take in mind the WordPress security. If done wrong, your online business could really be ruined. One of these security measures is to change the “wp-admin” directory in WordPress.

This simple trick will give you an extra line of security. Thus, hackers can’t easily access the login page where it asks for username and password. In this article, I will show you a quick simple method to do this little trick and secure your WordPress dashboard.

By default, WordPress sets up “/wp-admin” as the main url for your website control panel. Since WordPress is a popular CMS, it will be very common for someone to access that page. And here we’re going to secure it right away.

How To Change “wp-admin” in WordPress?

I’ve used to use an easy WordPress plugin called “WPS Hide Login“. This plugin basically gives you an option to change both “wp-admin” and “wp-login.php” to a name of your choice. And you can change that easily from the dashboard without any extra coding skills required.

This plugin as well gives you the possibility to change “404 page” directory as well. 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.

First, you will need to install and activate the plugin on your WordPress website. Once completed, head over to “General” tab under Settings and scroll down until you find the field where you can change the login url quickly and so easily.

Alternative Plugins to Change “wp-admin”?

There are a number of plugins that are available and can easily let you change the “wp-admin” url. Here is a quick list for great plugins you can also use:

After you activate any of these plugins, the wp-admin directory and wp-login.php page will become unavailable. You should bookmark or remember the URL for future logins. Disabling the plugin brings your website back exactly to the state it was before.


That was it for a secure WordPress Dashboard. You should also know that this is a simple trick. Yet, you still need to install and configure a firewall on your WordPress website. This will indeed help protecting your WordPress site from spammers and brute force attacks.

Take your time setting up your WordPress site. Please let us know in the comments below shall you require further assistance. We’re always available to assist. Also, don’t forget to share this little trick to change “wp-admin” with everyone on social media. Good Luck!

6 thoughts on “How To Rename “wp-admin” in WordPress (Quick)”

  1. Just renaming /wp-admin/ or wp-login.php is just “security through obscurity”. Which is NOT security, even not the additional layer.

    There are better options like keeping real WordPress and its /wp-admin/ within more secure network (intranet), allowing access only from limited host(s), protecting access with VPN-channel and using some additional plugins like wp2static or similar to produce “static” content and publishing it on some separate host (though rsync, lsyncd or similar), where pure web app (like Apache2 or similar) is available and NO availability of /wp-admin/ or other plugins there.

  2. Hi Karim,

    Nice blog post. Renaming the wp-admin in WordPress is a nice to way to secure your WordPress dashboard. Many new WordPress users ignore this simple technique, only realize this after their website has been hacked.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top