WordPress MU Domain Mapping
Redirect all subdomains of a MU site to main site (3 posts)

  1. jospin
    Posted 3 years ago #

    Dear all,

    I am using wordpress MU in subdirectory mode for several sites,
    each of which have several domain names.

    Currently, only http://www.abc.com and abc.com redirect to abc.com, but for example nonexisting.abc.com redirects to the default site (a different website, the default installation website http://www.123.com for example) of the install, instead of abc.com (Which I would like)

    How do I make a website redirect *.abc.com to ITS OWN root instead of the WordPress MU main installation website?

    So if I have site with ID 5, with domains a.com (Primary), b.com, c.com etc how do I let *.a.com, *.b.com, *.c.com etc redirect to http://a.com ?

    I know this can be done because http://www.a.com CAN redirect to a.com, and the same goes for http://www.b.com ...

    I have wildcard DNS setup for a.com, b.com and c.com ....


  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 3 years ago #

    You can't domain map to the main site in a network.

  3. jospin
    Posted 3 years ago #

    Dear Ron,

    I don't want to domain map to the main site; this is not the main site.
    I would simply like to redirect *.notmainsite.com to http://notmainsite.com, and also *.notmainsitealias.com to http://notmainsite.com. Is that possible?

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