Home  >  Article  >  CMS Tutorial  >  How to change the login address in wordpress

How to change the login address in wordpress

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-07-15 14:51:575893browse

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.

How to change the login address in wordpress

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

How to change the login address in wordpress

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

How to change the login address in wordpress

3. Use Dreamweaver cs5 Open the login0306.php file, search for wp-login, replace everything with login0306, and save it.

How to change the login address in wordpress

#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.

How to change the login address in wordpress

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn