- Copy the wp-login.php file under the root directory named Wp-login.php.backup, rename the original file to managewp.php
Sed-i "S/wp-login.php/managewp.php/g"/home/youwebsite.com/public_html/managewp.php
- Open the general-template.php file in the wp-includes/directory to replace all wp-login.php with admin.php
- Open the general-template.php in the wp-includes/directory, and be careful to search for the following fields in this file, and do not modify the wp-login.php here
function Wp_login_url ($redirect = ", $force _reauth = False) {
$login _url = Site_url (' wp-login.php ', ' login ');
Cancel WP Background login needs to be modified:
wp-includes/default-widgets.php
WordPress XMLRPC Attack
The. htaccess additions in Apache:
# Protect Xmlrpc
<files xmlrpc.php>
Order Deny,allow
Deny from all
</Files>
Modify the wordpress background Administrator login Address