Change from Donncha domain mapping to WPMU

HI,

I have WP 3.3.2 with multisite enabled. Donncha's domain mapping is installed in the mu-plugins folder. There are a little more than 76 blog ids mapped. I've been looking for a cross domain single signon and see the WPMU supports it (if I'm interpreting this correctly).

http://www.main.com
subdomain.main.com (mapped to http://www.newmain1.com)
subdomain2.main.com (mapped to http://www.newmain2.com)

subdomain3.newmain2.com (mapped to http://www.newmain3.com)

If the person logs into any of these sites then I'd like them to be logged into all of them.

Is this possible?

OK. If yes then comes the next series of questions.

I have Donncha's domain mapping installed. What issues will I have removing his plugin from the mu-plugins folder and installing this one into the /plugins folder? Do I use network activate? Can I still use mu-plugins and so I don't have to activate it for each site?

Will I have to remap all of the domains?

Is there a new database table created with this plugin?

Thank you. I'm sure I'll have more questions as I read through things.

  • Jason

    Donncha's domain mapping supports cross domain single sign on.
    It works for me, but there's a little caveat to it. All logon's must take place on the "Main" site. then you can go to the subsite, and the toolbar should be visible at the top. THEN you can go to the dashboard of the subsite.

    So if you take care to instruct your clients to only log in on the main site first to manage their pages, and then go to their site and use the admin bar, it's not a problem.

    There's only one link that causes a problem. If they try to just from the main site, straight to their dashboard, without visiting their website first, it asks them to login again. But if you redirect their login page to the main site's login page, it takes care of that.

    I hope that makes sense!

  • aecnu

    Greetings LPH and Jason,

    @Jason absolutely great advice and pointing out the ins and outs of making this work together and how to use cross domain single sign on. Kudo's to you.

    @LPH it is my opinion that even with our Domain mapping plugin you will encounter a similar phenomenon and will end up dealing with things the same way Jason has described above.

    The greatest advantage you would achieve is its integration with the Pro Sites plugin if indeed you are using the Pro Sites plugin.

    One plugin that is not well known that may get around the need to go to the main domain to log in is the mp-blog-register.zip which I have attached below which is described as: Allows people to register for an individual blog using the normal registration process. Compatible with plugins like Register Plus. You can also control whether users can adjust their own registration settings.

    But it also allows them to log in directly at their own blog URL too.

    Perhaps Jason will give it a shot and let us know if it gets around the need to log into the main blog first as described above?

    Please advise how this goes for you folks if either of you tries it.

    Cheers, Joe

  • aecnu

    Greetings LPH,

    We have not heard back from you as to the status of this issue.

    If you are still having an issue please let us know so that we may try to get you fixed up as soon as possible by choosing to check mark this ticket as unresolved below and posting any new errors or symptoms you are noticing.

    This action will also bring your ticket up front back in plain view again within the ticket system.

    Thank you for being a WPMU Dev member!

    Cheers, Joe

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.