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

  1. kenanoff
    Posted 5 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.


  2. jcnetsys
    Posted 5 years ago #

    This will be in the next update.

  3. Cliff Seal
    Posted 5 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
    Posted 5 years ago #

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

  5. Cliff Seal
    Posted 5 years ago #

    Great! Sorry for being so hack-ish.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Password Protect WordPress
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic