WordPress.org

Forums

WordPress MU Domain Mapping
[resolved] 3.5.1 + MU + Gandi Simple Hosting: not working (5 posts)

  1. crucible
    Member
    Posted 2 years ago #

    I'm doing a migration of a handful of WP blogs (across multiple domains) for a friend from his host to a new Gandi Simple Hosting PaaS instance. I got WP 3.5.1 installed easily and followed Otto's instructions for installing the MU plugin.

    The primary site, which won't host any actual content is: network.example.com. It will be the overall dashboard site for the network. The other sites are: family.example.com, (www).business1.com and (www).business2.com.

    I seem to be running into an issue with the domain mapping. I've configured family.example.com as a network site and I'm unable to get logged into it. I also can't get anything to show up in Domain Mapping: Domains. I've tried adding domain, but nothing sticks. Whenever I load that page, I get the following error in my php.log

    [05-Feb-2013 07:21:14 UTC] PHP Warning: Creating default object from empty value in /srv/data/web/vhosts/network.example.com/htdocs/wp-content/plugins/wordpress-mu-domain-mapping/domain_mapping.php on line 214

    Any idea what's going on here? Do I even need the MU plugin? It seems that with 3.5.1, my network can contain sites across multiple distinct domains.

    http://wordpress.org/extend/plugins/wordpress-mu-domain-mapping/

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Get the development version.

  3. crucible
    Member
    Posted 2 years ago #

    Thanks much!

    It seems to be working now. I was able to enter family.example.com and business1.com into the Domains page and they stayed. However, I'm unable to add the primary site (network.example.com) as siteid 1. Is this expected behavior?

    Perhaps you should put a note on the main page for this plugin that 3.5.1 users should use the dev version (until you release 0.5.4.3).

    Documentation Suggestions
    ------------------------
    The Domain Mapping: Domains page could really use some documentation. As a longtime WP user but a n00b to the MU plugin, it's *really* unclear what to do there.

    How am supposed to know that siteid needs to be a number and that number is the number of the site as it was created in WP? I figured it out pretty quickly when the login page for one site wanted to redirect me to one of the other sites, but a little guidance here would have been good.

    Alternatively, couldn't you query this info from the wp_blogs table?

  4. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    You cannot map a domain to the main site as it interferes with site lookup.

  5. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Perhaps you should put a note on the main page for this plugin that 3.5.1 users should use the dev version (until you release 0.5.4.3).

    It has nothing to do with WP version. You see that message because you (or your host) has notices enabled in PHP.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WordPress MU Domain Mapping
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic