WordPress.org

Ready to get started?Download WordPress

Forums

Password Protect WordPress
[resolved] [Plugin: Password Protect WordPress] Link redirection (5 posts)

  1. kenanoff
    Member
    Posted 3 years ago #

    If someone follows a link to the page within the blog (a single post for example), the login screen catches him (correct), but then after password is entered, redirects him not to the original requested page (the single post), but to the main page http://www.xxxxx.com/?login=true

    The originally requested page should be remembered and then the user should be redirected to it after login.

    http://wordpress.org/extend/plugins/password-protect-wordpress/

  2. jcnetsys
    Member
    Plugin Author

    Posted 3 years ago #

    This will be in the next update.

  3. Cliff Seal
    Member
    Posted 3 years ago #

    This will probably be done more effectively be the developer, but you can edit login.php to pseudo-fix this. Find the form and change the action parameter to:

    <?php echo "http://" . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'] ?>

    It's working for me, at least. Currently. :)

  4. jcnetsys
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for that cliffseal. It will be fixed in next update.

  5. Cliff Seal
    Member
    Posted 3 years ago #

    Great! Sorry for being so hack-ish.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic