Stealth Login isn’t quite working right with the “Giving WordPress Its Own Directory”
RewriteRule ^logout wp-login.php?action=logout [L]
RewriteRule ^login wp-login.php?&redirect_to=http://mysite.com/wordpress/wp-login.php?redirect_to=http://mysite.com [R,L]
RewriteRule ^register wp-login.php?action=register [L]
RewriteRule ^logout /wordpress/wp-login.php?action=logout [L]
RewriteRule ^login /wordpress/wp-login.php?redirect_to=http://mysite.com [R,L]
RewriteRule ^register /wordpress/wp-login.php?action=register [L]
Notice also that a Login Redirect of Blog Address had 2 redirect_to’s.
as huwr mentioned on another thread, it would also be nice if the login links changed too… via the loginout and register filters. i.e. i would like the login link on the register screen to include the redirect_to parameter.
- The topic ‘Stealth Login with WordPress in its own directory’ is closed to new replies.