ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

MSM and login across multiple domains

March 20, 2009 11:01am

Subscribe [4]
  • #31 / Mar 27, 2009 5:03am

    John Henry Donovan

    12339 posts

    _Oli,

    Just to recap

    With this config (site folder added)
    If I login to site_a, site_b’s url is being shown and I end up being logged into both sites.
    If I login to site_b, site_a’s url is being shown and I end up being logged into both sites.

    This works for you but the refresh is troublesome for you? It is probably down to your meta refresh as you mention.

    You could try a php redirect instead of the Meta Refresh in your index file for site_a. I can’t guarantee it will make a difference but worth trying

    <?php
    header ("Location: <a href="http://www.site_a/site/index.php">http://www.site_a/site/index.php"</a>);
    
    exit;
    ?>
  • #32 / Mar 27, 2009 8:12am

    _Oli

    56 posts

    Hello,

    Just tried this and still no luck… I think I’m going to have to take my site out of this folder….

    Do you or anyone knows if I could get a htaccess that would keep the old url’s working for a little while but mark them as 301?

    What I’d need to achieve is for

    http://www.site_a.com/site/index.php/whatever/page/in/mysite

    to rewrite to

    http://www.site_a.com/index.php/whatever/page/in/mysite

    And… just as I was typing this, I have answered my own question…

    Here’s the htaccess 😊

    RewriteEngine On
    RewriteBase /
    RewriteRule ^oldFolderName/(.*)$ /$1 [R=301,NC,L]

    I’ll keep posting to let you know how it all goes

    Thank you for your help with this guys, you are brilliant 😊

  • #33 / Mar 27, 2009 12:38pm

    Ingmar

    29245 posts

    I’ll keep posting to let you know how it all goes

    Please do 😊 I’d really like to get to the bottom of this.

  • #34 / Mar 27, 2009 12:47pm

    _Oli

    56 posts

    I will do, I’m still going through the site preparing for “the move” 😊

  • #35 / Mar 27, 2009 12:48pm

    Ingmar

    29245 posts

    Sure. No worries, we’ll be here whenever you get to it.

  • #36 / Mar 29, 2009 4:39pm

    _Oli

    56 posts

    Hi guys, 5 hours migrating the lot today. “Main” site now in the root, config set properly, path files too. Reinstalled MSM… nothing does it. Still not working.

    When try to login, I get redirected to second site then back to first site…. I end up logged into both site which is good but this was working before… that redirect problem is still here.

    My head is going to pop :gulp:

  • #37 / Mar 30, 2009 2:18am

    John Henry Donovan

    12339 posts

    _Oli,

    Can you please check your email.

  • #38 / Mar 31, 2009 3:16am

    John Henry Donovan

    12339 posts

    Oli,

    I logged in and everything works as intended. If I login through the frontend on siteA I get logged into SiteB with no refreshing of pages or redirects between sites. It also works the opposite direction. I tested in IE7 and FF3.

    Try deleting your browser cache and cookies. Restart it try again.

  • #39 / Mar 31, 2009 5:49am

    _Oli

    56 posts

    Hey John,

    Thank you for coming back to me.

    Still same behavior my end… I have emailed you a little screen recording of what I see.

    Thank you

  • #40 / Mar 31, 2009 12:22pm

    Sue Crocker

    26054 posts

    _Oli, I’ll login a bit later today and test on my end.

  • #41 / Mar 31, 2009 12:24pm

    _Oli

    56 posts

    Thank you 😊

    I’ll send you the video too if you can’t replicate the problem.

  • #42 / Mar 31, 2009 12:27pm

    Sue Crocker

    26054 posts

    Go ahead and send me the link by clicking MSG below my avatar.

  • #43 / Mar 31, 2009 12:38pm

    _Oli

    56 posts

    done 😊

  • #44 / Apr 01, 2009 1:08pm

    Sue Crocker

    26054 posts

    _Oli, I see the same thing you’re showing in your video, a short splash with the secondary domain’s name showing, but I’m only seeing a second one, not a third or more.

    The site you have labeled as Original site isn’t available via the front end. Are you setting that one’s url to be accessed too?

  • #45 / Apr 01, 2009 1:10pm

    _Oli

    56 posts

    yes but not right now. This is part of a future project.

    I have tried adding it to my config thinking it was the problem but it isn’t…

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases