WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. Polnareff
    Member
    Posted 11 months ago #

    hello,

    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.

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

  2. Ron Rennick
    MultiSite Guru
    Plugin Author

    Posted 11 months 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
    Member
    Posted 11 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic