How to change the default WordPress admin login URL

Step 1: Find the wp-login.php file in the Plesk Dashboard and copy its contents. Go to File > httpdocs > wp-login.php.  

Click and copy all the contents.



Step 2: Create a file with the same name that you want to add at the end of your login URL. For example, to access the admin login via the domain.com/viewhere URL, you can create viewhere.php and paste the wp-login.php code into the file.

 


Step 3: Open the newly created login file and replace all references to wp-login.php with the new .php file name (i.e. viewhere.php).



Step 4: Backup the unaltered wp-login.php. Once the file is downloaded, check the wp-login.php box and click 'Delete' at the top of the page to delete on the server.


Step 5: Access the new login page via the URL you have chosen.



Did you find it helpful? Yes No

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