kenanoff
Member
Posted 1 year 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/
jcnetsys
Member
Posted 1 year ago #
This will be in the next update.
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. :)
jcnetsys
Member
Posted 1 year ago #
Thanks for that cliffseal. It will be fixed in next update.
Great! Sorry for being so hack-ish.