• jethin

    (@jethin)


    Hopefully this one will prove to be simple. I have the domain mapping plugin up and running on a multisite network (subdfolders). However, most of the hosted sites have multiple domains — specifically with and without www, like so:

    1) http://mysite1.com (primary)
    2) http://www.mysite1.com (alias for above)

    The DNS records are set up and point to our WordPress install. However, while the first URL resolves properly (via domain mapping), the second goes to the main WP subfolder URL.

    So, what’s the best way to manage these domains? Multiple domain entries in the mapping plugin? If so, would one be primary and the other not? What about an .htaccess solution? Other ideas?

    BTW, can someone explain to me what “primary” domain means in the context of this plugin? Currently I have this feature disabled, but perhaps it would prove useful (provided I understand exactly what it does).

    Thanks.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Primary means main – and the plugin is doing exactly what it is supposed to.

    It’s for mapping *ONE* domain as the main url. The rest of them (the alisases) are different domains ro whatever to get to the same spot.

    But only one can be the main, canonical, prevalent, central, official url.

    If you are looking for a plugin to make one blog look like 20 different websites with the exact same content …. this isn’t it.

    Thread Starter jethin

    (@jethin)

    OK. So then to clarify, the best way to map both the “www” and non-www versions of a domain name to the same non-primary, domain mapped site is to create separate records in the plugin for each address?

    This is a simple and regularly done convention on the web. I certainly don’t want to “make one blog look like 20 different websites.” I just want a simple way to enable my domain mapped sites to resolve properly whether a user types in an address with or without a www prefix.

    Adding the www as an alias to the mapped one *should* work.

    Did you remember to also park it like you did the non? Could be why it;s punting to the main.

    Thread Starter jethin

    (@jethin)

    FWIW I ended up redirecting the www prefixed site to the non-www domain in our .htaccess file. I might recommend that a feature to handle domain aliases be added to the plugin in the future.

    Plugin Author Ron Rennick

    (@wpmuguru)

    The domain mapping plugin will respond to both the www and non www domain if the non www is the mapped domain. When you map it that way the www automatically redirects to the non www.

    I’m not sure why it wasn’t working for you other than a host configuration issue or you had an old version of it.

    I might recommend that a feature to handle domain aliases be added to the plugin in the future.

    It’s already in the plugin. Look at the subsites tools -> domain mapping menu, where you can put more than one there.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Plugin: WordPress MU Domain Mapping] Multisite Domain Mapping – www alias, Primary Domain’ is closed to new replies.