404 redirect wp-login and wp-admin after changing login url [closed]
Untested with your code but assuming it will be automated bots hitting your login pages you should get them straight off your site with something like this: RedirectMatch 301 wp-login.php http://www.google.com RedirectMatch 301 wp-admin http://www.google.com