How To Change WordPress Admin Login URL without Plugin

Have a website on WordPress?

Then definitely you have to be a little extra attentive and should change WP-Admin URL immediately.

WordPress Security should always be the priority, and we have discussed this in our before articles.

There are plenty of ways a hacker could attempt to hack your site.

At the same time, there are several ways to protect your WordPress site from several attacks like Brute Force and DDoS attacks as well.

Are you serious about your blog content and hard work goes into creating it?

If the answer is yes, read on and follow the simple steps to enhance the security level.

To make your WordPress site secure you can,

But, here we will improve the security to a further level and add an extra layer by changing the WordPress Admin login URL itself.

I was intending to change that default your-domain-name/wp-admin, which is very common for many websites or blogs and that makes it non-working for yours. Isn’t it?

Why Change WordPress login URL Immediately?

Now, this won’t be rocket science for hackers to guess the login URL, if you haven’t changed it yet. Just your domain name and WP-Admin could be easily added to the URL.

And rest is just accessing the username and password.

Though, it’s not simple, if you have a stronger password. But, why to take chance by not adding that extra layer of protection.

So, how about making a custom WP-Admin login URL for your site?

Which should not be guessable at all.

Sounds Good? Let’s do it!

Change WP-Admin URL for Improve Security

By doing some simple steps, we will be able to change the WordPress Admin URL with ease.

The WordPress login slug should be always changed and customized to enhance security.

custom login url

Step 1. Install and activate the Custom Login URL Plugin. You may also check the guide to install and activate the WordPress plugin.

Once the plugin is activated, you can access and change WP-login URL, below the permalinks section.

Step 2. Navigate SettingsPermalinks, and scroll down to see the Authentication Permalinks section.

You will find several sections there, Login URL, Registration URL, Lost Password URL, Logout URL, Redirect URL’s as well.

change login url

You can set up all according to your preference. But, in this case, you need just the Login URL to be changed.

Step 3. In the Login URL section, you can input anything you would like to.

But, make sure it should be unique so that no one could guess it. And obviously, that is your primary reason for changing the WP- Login URL. Isn’t it?

And that is the primary reason we are changing the WP- Login URL. Isn’t it?

If you are scratching your head to decide a username, you can take the help of few username generator tools.

Step 4. After entering the username, Click on Save Changes.

Logout and re-login to your WordPress website to see the changes in the URL.

That’s it, you are done by changing with the WordPress Admin URL permanently.

And if you want to change the WordPress UR: without using a plugin. Follow the method 2

Method 2 – Changed WordPress Admin URL without using a Plugin

It can be understandable why you would like not likely to use plugins for every small thing.

Step 1. Login to your CPanel to access File Manager

Step 2. For the root folder, find and select the wp-login.php file, right-click on it and download it.


Step 3. Open the file on any of your favorite code editors. Mine is a Sublime Text Editor for this tutorial.

Here we are about to find the wp-login text and replace it with the new one.

Step 4. CTRL + H in the Sublime Editor. Input wp-login in Find and your new login URL. That could be “wp-newuniquelogin” for this tutorial.

change wp login text

Step 5. Click on Replace All. this will replace all the wp-login to wp-newuniquelogin in thirteen areas in that file.

Step 6. Save that file and Go back to the File Manager.

Step 7. Upload this file wp-newuniquelogin.php file and delete the wp-login.php file.

You are almost done with one more final step. As the above action will let you login in with the new URL. But, won’t let you log out from the wp-admin area. So to make the process complete follow the next step

Step 8. FileManager wp-includesgeneral-template.php. Open the file and follow the same process here as well. That is replacing old wp-login to your newly created wp-newuniquelogin.

Replace the instances in the entire file to make the process complete as earlier. And you are done.

A serious WordPress Website creator should not delay more and change WP-Admin URL right away and secure all your data.

What others are reading!
Authored by Navin Rao

A blogger and with a go-getter attitude Navin is a web geek and loves to write about WordPress. Able to guide even a non-techie to maintain a WordPress website through his walkthrough tutorials on WordPress.

Enough right? Let's join hands on Facebook and Twitter

5 thoughts on “How To Change WordPress Admin Login URL without Plugin”

  1. Hi Navin,
    Securing our blog is the first and most important thing. And surely we must not be having Wp-admin, but instead, we should have different login URL.
    The plugin you have shared is really good.
    Thanks for the share Bro.

    • Hi Robin, Changing the website login URL would be really wise and every webmaster should definitely do it. It extends the security level.

      Thanks for stepping in and leaving your feedback on the same. 🙂

  2. Hi Navin,

    I have wanted to change my login URL for the longest, but I keep putting it off. This article is precisely what I needed to take action as it makes it simple to do.
    Thanks for sharing these wonderful tips.


Leave a Comment