• Resolved Ivan

    (@ivankk)


    We’re using the WordPress MU Domain Mapping plugin with a multisite setup at example.com, and for our customers, we register them a blog as a subdomain customername.example.com

    Some customers have their own domain names, e.g. customername.com

    How can we allow one blog to be reached at both customername.com and at customername.example.com

    Since we control example.com, we know there will not be any domain/dns issues with customername.example.com, however for SEO/branding purposes we want the customer to be able to visit their store from customername.com and not have it redirect to the subdomain, while if they visit with the subdomain, it won’t redirect them to the domain as it may not be working, or the A record is pointing somewhere else or the domain has expired.

    Cheers,
    Ivan

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

    (@ipstenu)

    ?????? Advisor and Activist

    Why would they need customername.example.com?

    If you use the plugin, it’ll redirect customername.example.com to customername.com. If the domain expires, well, they’d be screwed anyway.

    Thread Starter Ivan

    (@ivankk)

    Because we own example.com and can easily show the user that their account is still working.

    Because we have automated systems to allow a user to specify their domain name.

    For example, let’s say a new user has just signed up, has been given customername.example.com and proceeds to register customername.com, and sets that as their domain in the wordpress install.

    As there is some time between domain being registered and domain being usable, this allows us to have the user continue customising their site, and viewing it, while they wait for the dns to be setup for their domain.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I would do two things with domain mapping, then: check option 4 and 5.

    That should handle it…

    Thread Starter Ivan

    (@ivankk)

    Ipstenu, perfect, exactly what was needed.

    For anyone else looking, to elaborate on Ipstenu’s answer, as a network admin, go to the Settings > Domain Mapping and check:

    4. Redirect administration pages to site’s original domain (remote login disabled if this redirect is disabled)
    5. Disable primary domain check. Sites will not redirect to one domain name. May cause duplicate content issues.

    To get around the potential issue of web spiders crawling both sites and penalising you for duplicate content, you can setup a 301 redirect or block them in your robots.txt file.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    The 301 redirect will also send users from one URL to the other, just FYI.

    Thread Starter Ivan

    (@ivankk)

    Correct, that’s why we only use it to target web spider useragents, namely google/bing crawlers

    Thread Starter Ivan

    (@ivankk)

    Resolved

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘WordPress Multiple domains pointing to one site (without redirecting)’ is closed to new replies.