If you read this article I am sure you are already familiar with at least one admin URL in WordPress. There are 2, created during WordPress installation – wp-admin.php & wp-login.php. By default, WordPress doesn’t offer the option of changing them, but that doesn’t mean is not possible. See below how to change admin URL in WordPress.
Reasons to change your login URL in WordPress
There are 2 reasons why you should change your login link.
- Avoid Brute Force attacks
Brute Force attacks are a primary method to break into your account. It is based on attacker’s ability to “guess” your login data (username and password). But to do that the hacker needs to get to your login screen, so changing the admin URL will make things more difficult for him. Also, make sure your login username is not “admin” or “Administrator“.
2. Customize your login screen
WordPress standard login screen is pretty clean and simple. While this might work for you as an administrator, you might consider making something better for your end users. In the end image matters and you don’t want to disappoint your customers.
How to change admin URL in WordPress
Now that you’ve seen why this is an idea to be considered, let’s see how you can change the login URL. The most used method is through a plugin. There are many plugins for this but I will recommend you 3 and use one for demonstration purposes.
Protect Your Admin – download link here
Custom WP-Admin URL – download link here
Custom Login URL – download link here
These are simple solutions meant to only change the admin URL. There are also other, more complex, plugins that offer you more security features. For the purpose of this tutorial, I’ll be using Protect Your Admin plugin.
Use Protect Your Admin to change login URL in WordPress
Use the link above to download it or look for it in the plugin search page. It should look like this:
Once installed and activated you can find it in Settings -> Protect WP-admin. Navigate through the menu and select the desired features. They are pretty self-explanatory. In any case look below for how you should use them.
First, check the Enable box and then fill in an admin URL of your choosing. Press Save Settings and you should be good to go.
NOTE: the first time you want to save you might need to confirm that you have correctly set the permalinks and gave writing permissions to the .htaccess file. Do that and save afterward!
Once the settings are saved it is time to test the new link. You will notice that if you try to access the old link (http://yoursite.com/wp-admin for example) you will be automatically redirected to the homepage. Try the new admin URL and you will get to the login screen.
You will probably notice that this plugin offers other features as well. You can customize the login page by adding a logo and you can set some restrictions for non-admin user. Try for yourself and see which does what.
Let me know if you find this information useful and if you managed to change admin URL on your page. If you have problems don’t hesitate to leave a comment. I will try to get back at you as soon as possible. Thanks!