WordPress MU Domain Mapping
302 redirect on master domain (3 posts)

  1. Polnareff
    Posted 2 years ago #


    i've a 301/302 redirection problem with my network's "master domain".

    i have activated "Permanent redirect" and it's ok for all my blogs.
    exemple, http://toto.net redirects 301 to http://www.toto.net.
    All is ok.

    But, it's not the same for my network's "master domain".
    http://masterdomain.tld always redirects 302 to http://www.masterdomain.tld. And of course i need 301.

    i've tried all the possible options in domain mapping bug nothing change.

    Any idea ?
    thank you by advance.


  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 2 years ago #

    Domain mapping does not allow you to map a domain to the main site in the network because it interferes in site lookup in some situations.

    If you want to redirect the main site then use a rewrite rule on your htaccess (or one in your DNS) to do the 301 redirect.

  3. Polnareff
    Posted 2 years ago #

    oh... Ok :)
    i did it, and it works :)
    thank you

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