Home >CMS Tutorial >WordPress >How to change the login address in wordpress
The default login address of wordpress has security risks, and various detections will report errors. In previous versions, it was enough to modify the login file name, but in the latest version, the code of the file needs to be modified.
Tools/Ingredients
WordPress 3.8.1
FlashFXP
Dreamweaver cs5 or Other code editing tools
Methods/steps
1. Find wp-login.php in the home directory and change it to a customized file name. For demonstration purposes, The author changed it to login0306.php
Related recommendations: "WordPress Tutorial"
2. After changing the login file, it cannot If you log in directly, you will still jump to wp-login.php, so you need to modify this file and download the login0306.php that has been changed before
3. Use Dreamweaver cs5 Open the login0306.php file, search for wp-login, replace everything with login0306, and save it.
#4. Use FlashFXP to upload to the virtual host, and change the background login link to URL/login0306.php. After entering the username and password, jump to the background management interface.
Notes
This method was verified under the latest version 3.8.1 and cannot be guaranteed to be suitable for future updated versions.
It is recommended to modify this file, otherwise the third-party detection will report an error.
The above is the detailed content of How to change the login address in wordpress. For more information, please follow other related articles on the PHP Chinese website!