• skillbit,

    Stealth Login isn’t quite working right with the “Giving WordPress Its Own Directory”
    http://codex.wordpress.org/Giving_WordPress_Its_Own_Directory

    I have:
    Wordpress Address: http://mysite.com/wordpress
    Blog Address: http://mysite.com

    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]

    should be

    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.

    Thanks!
    – nathan

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stealth Login with WordPress in its own directory’ is closed to new replies.