You no doubt realize how important security is for your WordPress site. In fact, you’ve probably heard a lot of advice on the subject – including that you should change your WordPress login page URL. However, you might not be sure why or how to do it.
Changing your login page URL is a simple but effective security techniques that can help keep hackers out. After all, a unique, hard-to-guess the WordPress login URL is more difficult to find. This means that people tend to gain access to your site unless you want them.
In this post, we will discuss briefly why to change your WordPress login page URL is a smart idea. Then we’ll show you how to do it using the free plugin change WordPress login URL and manual change method. Let’s see!
Why it’s smart to change your login page URL
Your WordPress login page URL (or ‘admin URL’) is a web address that you go to when you want to access the rear of your site.
You know the page – unless you adjust your login page, it looks like this …
By default, WordPress sites all use a structure identical URL for this page. If your website domain is www.mysite.com, for example, you can log in with visiting www.mysite.com/wp-login.php or www.mysite.com/wp-admin.
This makes it easy to remember how to access your site. However, the downside is that anyone who knows anything about the WordPress login page can find you quickly. Once they’ve located it, hackers can get busy trying to break in. If you change the WordPress login URL to something difficult to guess, on the other hand, you are going to slow them down with the same hackers make your login page is hard to find.
In addition, changing the URL of the login page you have a secondary benefit in that it can eliminate a lot of resource wasting bot traffic to your site.
Why not recommend to change your login page URL manually
it’s not a good idea for several reasons:
- Whenever you update WordPress, it will create a login page file. This means you have to change the WP login URL again.
- Manually change the WordPress login page URL you can make a mistake with your logout screen, and cause other problems with the function of important sites.
In general, you should not change the core files of your website if you do not need it. Doing this can have unintended consequences. Fortunately, there is a better way to hide your login page.
How to change the WordPress login page URL you use the plugin
We must emphasize that this technique will not prevent hackers completely. However, it does provide an additional layer of security for your site. Change the URL of your login page is best used in combination with other methods to protect your admin area, such as applying a Two-Factor Authentication (2FA) and limit the number of login attempts allowed.
To change your WordPress login page URL, we recommend WPS Hide Login:
It is a lightweight solution that gets the job done simply and quickly. Moreover, it is popular, it has a very good review, and receive regular updates from the developer.
You’ll want to start by backing up your site, just to be safe. Then, you must install and activate the plugin.
After the tasks are done, navigate to Settings> General in your WordPress dashboard.
If you scroll to the very bottom of the page, you’ll find a new section labeled WPS Hide Login:
This option will allow you to create a new URL for your login page by typing into the field after the domain name of your Web site. Your best bet is to pick something random as you do for a password (for example, a string of numbers and letters). Make sure you note the new WP login URL in a safe place, so you do not lose access to your site.
When you are happy with the new URL, click the Save Changes button.
From now on, you will be able to use this address to log into your site, and the default URL will be disabled. If for some reason you ever want to reverse this process, the WPS only disable Hide login and URL will be back to normal.
WordPress is a very secure platform, but always there are steps you can take to better protect your website. Changing your login page URL is a small tweak that – when implemented as part of a comprehensive security plan – making it harder for hackers and spammers to gain access.
Furthermore, using this technique is very simple. In fact, it will only take you a few minutes if you use the right tools. By installing a plugin such as WPS Hide login, you can change your login page URL through your dashboard settings, and see the changes take effect immediately.
how to change your WP login URL manually
Before starting the process, you need a code editor. Here are some recommended a code editor:
- Notepad ++
- Sublime text
We have been using Sublime Text in this article.
Let’s Start Process
Wp-login.php equipped with all the code that generates the login page and handle the login sequence. We will use the code from wp-login.php in a new file.
When you rename the file wp login.php, it will change your login URL. All you have to do is access the files from your site with a text editor.
There are four things we will do:
- Download the ‘wp-login.php’ file.
- Change the login url.
- Upload the new file.
- Test the new file.
- Download the ‘wp-login.php’ file
First login to your site’s administrative area using your id and password. Now go to file manager > public_html and download the ‘wp-login.php’ file.
2. Change the login url
Open the downloaded file with a text editor sublime (or who you choose to edit your text files). From the menu bar go to ‘Find > Replace’ and search for ‘wp-login’. Then replace all of the instances with your preferred URL (I used ‘wp-new-tg’) and save the file.
Now rename the file with the URL used.( I renamed it ‘wp-new-tg’.)
Again login to your site administration area and go to the file manager. Now click on the ‘upload’ button and upload the file that you modified. Then delete the ‘wp-login.php’ file.
4. Test the new file
Now you can log in with the new URL. Type the URL of your site with a new name. For me it is ‘test.themesgrove.com/wp-new-tg.php ‘. Any requests to ‘wp-admin’ or ‘wp-login’.php will lead visitors to 404 not found page.
If you still can’t figure out, check this video from below.
You May Also Like This: