How to protect wp-login and wp-admin
Hi WP community,
I want to “hide” or protect my wp-login.php file and wp-admin folder.
So I want to create something like this:
If someone come to “my-website_url/wp-login.php” and “my-website_url/wp-admin”, then that person will be redirect to the main/home page of my website.
How can I do that?
Thanks so much!
EDIT: I Know how to redirect wp-login.php to another url, but I don´t know how to hide wp-login.php,
- The topic ‘How to protect wp-login and wp-admin’ is closed to new replies.