I want to hide and rename wp-login.php in my URL for branding purposes on a Multisite set up.
From this forum post I see that I can change mysite.com/wp-login.php to mysite.com/login by inserting a RewriteRule ^login$ wp-login.php in my .htaccess. I like that the URL bar does not show login redirecting to wp-login.
If I try to login under a subsite mysite.com/subsite1/login it shows as redirecting from mysite.com/subsite1/wp-login to http://mysite.com/subsite1/wp-login.php?privacy=1&redirect_to=%2Fsubsite1%2Flogin
How do I get it to show as
mysite.com/subsite1/loginwithout the redirect in the URL bar?If I enter
mysite.com/wp-login.phpit shows as page not found. Great!
Now if I entermysite.com/subsite1/wp-login.phpit shows as the page exists. Oh no!
How do I hide that this page exists for subsites? I tried thefunctions.phpsuggestion in my child theme but it created a redirect loop.
/wp-logindoesn't exist, right? I normally orient my clients to login through/wp-admin, that redirects to/wp-login.php. – brasofilo Jul 30 '12 at 17:32