- Log into the WordPress dashboard
- Go to plugins
- Add new
- Search for the WPS Hide Login plugin
- click Install Now.
- Proceed to activate the plugin
- After activation, Go to Settings > WPS Hide Login
- Enter a new URL for the login page and save the changes
- The link to the WordPress Dashboard will be changed from testing.com/wp-admin to testingname.com/login.
- Your new login page will become effective and your old login URL will no longer work!
Manual Method :
- Access the functions.php file in your WordPress theme
- Add the following code:
Please note that changing the URL of the login page does not provide full security for your website, it is just an extra layer of protection to make it harder for hackers to find the login page. Another way to change your WordPress login page is to edit your .htaccess file by using a password-protect to protect your login page with a .htpasswd. This will restrict those without passwords to access the login page.