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/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
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 enter
mysite.com/subsite1/wp-login.phpit shows as the page exists. Oh no!
How do I hide that this page exists for subsites? I tried the
functions.phpsuggestion in my child theme but it created a redirect loop.