http_referer not working | Peter's Login Redirect | Forum
Back to the login redirect plugin page


10:47 am

Thanks. I tried checking that box but the same thing happens. (wp-login.php stays in browser nav bar but the page goes blank) . I also set some of the redirects to a particular page and changed the template to call this in the header:
CONTENT="0; URL="javascript:window.location.reload(history.go(-2));">
Trying to go back to one before the login page and refresh the page.Unfortunately this code just refreshes the first page in an endless loop.
treadnought said
If I set URL to [variable]http_referer[/variable] it redirects to the profile page after logging in, not the page I was just on. How do you set your referrer in the redirect_to GET or POST variable when logging in?
Hi,
You can see this page for an explanation of setting the "redirect_to" variable: http://wordpress.stackexchange.com/questions/16004/redirect-user-to-original-url-after-login
Good luck!