Modify default WordPress admin login URL

Changing the default WordPress admin login URL enhances security through obscurity. 


Step 1: Find the wp-login.php file in the Plesk Dashboard and duplicate its contents. Navigate to Files > httpdocs > wp-login.php.  

Select and copy all the contents.


Step 2: Create a file with the same name that you want to append to the end of your login URL. 
For instance, to access the admin login via URL domain.com/viewhere, you can generate viewhere.php and insert the wp-login.php code into this file.


 


Step 3: Open the newly created login file and substitute all mentions of wp-login.php with the name of the new .php file  (i.e., viewhere.php). 



Step 4: Back up the original wp-login.php. After downloading the file, check the wp-login.php box and click             'Remove' at the top of the page to delete it from the server.


Step 5: Navigate to the new login page using the URL you have selected. 




Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.