How to Change your WordPress Login Page URL (Security Tip)

Bots are constantly trying to login to your WordPress site. This can cause lots of server load and more importantly could lead to your side being hacked if a brute force bot gets in.

That is why it’s recommended to change the login URL of your WordPress admin.

So here is our guide on how to change WordPress login page.

Video Tutorial

If you want to quickly know how to change your site’s login URL, check out my video below.

No time for a video keep reading below…

Why You Should Change Your WordPress Login Page URL

WordPress is by far the most used CMS on the internet. This comes with pros and cons, since it’s the top CMS it also makes it the top target for hackers. By default all WordPress sites let you access the login page via /wp-admin/ and /wp-login.php making it easy for hackers to target these pages.

Even if you have login security plugins installed there is still an additional strain on your server from these attacks. This is why it’s best to just hide your WordPress login page by changing the URL.

How to Change Your WordPress Login Page URL with a Plugin

There are plenty of WordPress plugins that will change your login URL. The easiest one to use to change your WordPress login URL is to use the WPS Hide Login plugin. This plugin simply makes your existing admin login URLs lead to a 404 while letting you set a custom URL for your WordPress login.

Note: Changing your login URL will not prevent all hacking but will help prevent broad attacks that target WordPress sites at scale.

You can easily install the plugin by searching WPS Hide Login in Plugins>add new.

Once the plugin is installed and activated head over to Settings>general.

On the bottom of your general settings page you’ll see a new option to change your WordPress login URL. Plus you can pick what page 404 go to.

WPS hide login options

Honestly it’s best to make your login URL something unique you’ll know and remember. But from my experience doing something like /login/ makes it easy for you to remember and prevents automated attacks.

Keep in mine once you click save changes the login URL will be changed and you won’t be able to login with the default WordPress login URLs.

Andy Feliciotti

Andy Feliciotti

Andy has been a full time WordPress developer for over 10 years. Through his years of experience has built 100s of sites and learned plenty of tricks along the way. Found this article helpful? Buy Me A Coffee

6 Responses

  1. Hello,
    Once I use the plugin to change my login url, do I still need the plugin to remain activated?

    Thank you.

    Sincerely,
    Tom

Leave a Reply

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

WordPress Tips Monthly
Get the latest from SmartWP to your inbox.