Support » Networking WordPress » MultiSite (Sub-directories install) with second domain?

  • I have this MultiSite install (Sub-directories) that is working correctly, but now I am trying to get it to work on two domains.
    Getting WordPress to work on two domains is simple in single-site install, but in MultiSite I get either “Error establishing a database connection”, or I get redirected to the original domain.

    Isn’t there some way to trick WP to accept the second domain?

    I tried adding a record to the wp_blogs table, but that did nothing.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Yes, it’s called using a domain mapping plugin 🙂

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

    Isn’t that plugin to map one domain name to one blog?

    What I want is that all blogs listen to two domains, like this:
    – blog1 is now located at domain1/blog1; domain2/blog1 should show the same blog
    – identically, blog2 is at domain1/blog1; domain2/blog2 should show the same blog
    – and so on

    I have tried the domain mapping plugin, but it doesn’t work (it won’t record into the database the mappings I want to create). If what I described is possible with this plugin, please let me know.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    It is possible, though it’s crap for your SEO and I wouldn’t do it. You’d have to map each site and use domain2.com as the NON primary mapping.

    Why is it crap for the SEO? Because it would be seen as duplicate content or something?

    Mapping every site twice would be no problem.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    Lead Plugin Wrangler

    Because it would be seen as duplicate content or something?

    Bingo 🙂

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘MultiSite (Sub-directories install) with second domain?’ is closed to new replies.