Related: Learn more about WordPress
WordPress Speed
WordPress Speed

How to change the wp-admin login URL of your WordPress website
Every WordPress website has the same login address: your domain followed by /wp-admin or /wp-login.php. Everybody knows it, including bots that try to guess passwords all day long. In this quick tutorial I show you how to change that login URL into something only you know. It takes about two minutes and it is free.
There are two good reasons to do this. You don’t give strangers an easy place to try to log into your website, and you hide the fact that your website runs on WordPress.
Good to know: this video was recorded in 2018, so the plugin screens may look a bit different today. Changing the login URL is still a good idea, but it is only one part of protecting your website. For a complete approach, take a look at my prompt to secure your WordPress website and my MalCare security tutorial.
Step 1: Install a login URL plugin
You don’t need to touch any code. A small plugin does all the work.
- Log in to your website the normal way, through /wp-admin.
- Go to Plugins and click Add New.
- Search for a plugin that secures or hides wp-login.php. In the video I searched for “secure wp-login.php”.
- Check the author and the date of the last update. I always pick a plugin that was updated recently.
- Click Install Now and then Activate.
Step 2: Choose your new login URL
Right after activating, the plugin I used takes you to the place where you can change the login address. In my case that was under Settings, Permalinks. Scroll down and you will see a field with the current login slug, which was simply “login”.
- Type a new slug. I used my name followed by “-login”.
- Click Save Changes.
- Write down or bookmark the new link that appears under the field. This is now the only way into your back end.
Step 3: Log out and test it
Always test a change like this right away. Log out of WordPress and go to your domain with the new slug behind it, for example yourdomain.com/yourname-login. You will see the normal WordPress login screen. Fill in your username and password and you are back in your dashboard. That’s how it works.
Tips before you change your login URL
- Pick a slug that is easy for you to remember but hard to guess. Avoid “admin” or “login” on its own.
- Save the new login link in your bookmarks or password manager. If you forget it, you lock yourself out.
- If other people log into your website, send them the new link.
- Make a backup before you install security plugins. My backup tutorial shows you how.
Frequently asked questions
Does changing the login URL make my WordPress website secure?
It helps, because bots can no longer find your login page at the default address. But it is not a complete solution. Use strong passwords, keep WordPress and your plugins updated, and use a security plugin as well.
What happens if I forget my new login URL?
The old /wp-admin address will not take you to the login page anymore. If you really can’t remember it, you can disable the plugin through the file manager of your web hosting by renaming its folder in wp-content/plugins. Then the default login address works again.
Do I need to know code to change the wp-admin URL?
No. With a plugin you only type a new slug and click save. You never have to edit a file.
Will my visitors notice the change?
No. Visitors never use the login page, so the front end of your website stays exactly the same. Want to learn more about WordPress itself? Start with my WordPress tutorial for beginners.


