• Resolved danaskallman

    (@dskallman)


    Hi,

    We have been using user switching plugin while developing the site. We just launched the site with the live URL and it no longer works. A few things to note:

    • It’s on a multisite, but only locally activated on the main site
    • Everything was working until we made domain change from staging site to live
    • Since the URL change, it redirects me to the login screen as opposed as view as that user

    Is there a reason it would stop working given a URL change? If so, what can we do to resolve it?

    Thanks

    http://wordpress.org/plugins/user-switching/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Hmm, I’ve no idea why it might stop working after changing the domain. Does regular logging in and out work as expected? Do you have an opcache (eg. APC or Memcached) in place on the site that hasn’t been flushed? Do you have any custom cookie handling in place?

    Thread Starter danaskallman

    (@dskallman)

    Thanks for your response.

    We don’t have any caching enabled and we have it disabled now, plus we don’t have any custom cookies.

    The only way it works is to switch user as is if I swith to another admin, no other role. So I can’t see any subscribers. Any thoughts on why this could be?

    Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    I’m stumped I’m afraid. User Switching is quite simple under the hood so there’s little opportunity for it to break in this way. Ideas off the top of my head:

    Do you have any other plugins activated that could be interfering? Anything that’s messing with permissions or capabilities or roles?

    Did you update the various multisite constants in wp-config.php when you changed the domain name?

    Is the staging site a subdomain of the live site? If so, you might have some sort of cookie collision. Try clearing all your cookies and see if that works.

    Thread Starter danaskallman

    (@dskallman)

    Not quite sure what happened, but it just started working on it’s own a couple days after the migration to the live URL.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Change site URL to live URL on multisite & now user switching doesn't work’ is closed to new replies.