[Plugin: Network Privacy] Incorrect redirection after login using Mutlisite
-
When using Multisite and requiring authentication the forward after login double’s up the folder of the blog.
EX:
http://blogs.domain.com/marketing/ -> /marketing/wp-login.php?redirect_to=/marketing/Results in: http://blogs.domain.com/marketing/marketing/
Fix:
Line 183: header(‘Location: ‘ . get_settings(‘siteurl’) . ‘/wp-login.php?redirect_to=’ . urlencode(get_settings(‘siteurl’) . $_SERVER[‘REQUEST_URI’]));Add the full URL to the previous page to the redirect_to.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘[Plugin: Network Privacy] Incorrect redirection after login using Mutlisite’ is closed to new replies.