Support » Plugin: Network Privacy » [Plugin: Network Privacy] Incorrect redirection after login using Mutlisite

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    I’ll have a look at that. That might be related to a change in WP 3.3.

    However, you may want to check and see if you have something else interfering with your redirect URL. The change that you proposed above will only work in a subdomain install. Example in a subdirectory install

    http://domain.com/subsite/ <– sub site

    the concatenation you have done looks like this

    get_settings('siteurl') . $_SERVER['REQUEST_URI']

    http://domain.com/subsite/ . /subsite/

    Ah ha. Good call, I see what you mean.

    I will see if there is anything else interfering with my redirect URL but I don’t think so.

    I am thinking because redirect_to doesn’t start with “http” it is just appending the string to the end of the existing URL. And since there is a local wp-login.php in /marketing/ it is going to have to do some comparisons to make sure there isn’t a double directory in either case.

    Just a thought.

    Plugin Author Ron Rennick

    (@wpmuguru)

    MultiSite Guru

    I am thinking because redirect_to doesn’t start with “http” it is just appending the string to the end of the existing URL

    That’s not how it works. You can use relative URLs (ones without http://domain.com) throughout your site.

    If the relative URL begins with a / then it starts at the root of the website. If it does not start with a / then it is relative to the current path.

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.