Add these two functions to your functions.php file.

Then update your .htaccess file.

Users will still be able to access wp-login.php but all your email urls will now be changed.

Leave a Reply

Your email address will not be published. Required fields are marked *