Change WordPress admin login url easily without plugin

0
Change WordPress admin login url easily without plugin

Have you ever thought of changing the WordPress admin login URL without plugin installation? If yes then you are on the right post. While I was researching for changing the WordPress login URL, I got a plugin that was WPS Hide Login at that I had used the plugin for changing the WordPress login URL. Now we will change the login URL without installing the plugin.

Is it worth changing the default WordPress login URL?

Yes, you make sure that you should always change the default WordPress login URL because hackers try to access and hack your WordPress website if they recognize it. Also, we shouldn't keep the user name Admin in WordPress because many people keep the username admin in their WordPress website.

How to change the WordPress login URL?

I would like to suggest you that you can also take the backup of the WordPress website before following the step.

First of all, you need to login into your hosting provider's account basically we need to access the website file. For that, we will use the File Manager option in our hosting panel. After that, we will open the public_html directory. I hope you will get to the many directories and files there it might look alike the below-attached screenshot.

wordpress hosting file and direcotry for changing the wordpress login url

Download the wp-login.php file.

After that, we need to download the wp-login.php file and open it with your favorite code editor don't worry if you don't have any code editor you can also open it in notepad. After that have to search for wp-login in the wp-login.php file and replace it with your custom URL name as I mentioned in the below screenshot. Now you also need to change the file name with your customer URL name for example I replaced the wp-login with your-custom-login then I will rename the file as your-custom-login.php and upload the new file on the server and now you need to delete the wp-login.php file from the server.

wp-login.php file for changing the wordpress login url withour plugin

This is the simplest way which I used to change the WordPress login URL.

Check the WordPress website after changing the login URL.

We have successfully changed the WordPress login URL but now the question is that how to check whether it's working fine or not. For that, you can go to the default WordPress login URL which will show you a 404 page not found now. And if you go to the URL which you have just created then the WordPress login form will be visible.

I hope now you can also change the WordPress default login URL. Let me know if you are facing any issues on changing the URL I will be with you.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.
Post a Comment (0)
Our website uses cookies to enhance your experience. Learn More
Accept !