Support » Networking WordPress » Stop redirect to

  • Resolved plasticgoat


    Hello !

    I have done a fresh install of WordPress Network. I have used my main domain to configure it, ie “”, because I want to use sub-domain like “” (and not

    But I also want to access my main blog at “”.
    And so far, WordPress is redirecting “” to “”.

    I had my DNS zone configured to redirect “” to “”, so I was in an infinite redirection loop. I changed that to be able to access WordPress, but that’s not what I want.

    How and where in WordPress settings/files can I change that behavior?

    Thanks 🙂

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


    Lead Plugin Wrangler

    Can’t have both.

    You can have either OR I strongly urge you to make it, as I’ve seen weird errors with the www and redirect loops.

    Honestly it doesn’t matter to SEO, and it doesn’t hurt anything to leave it sans-www.


    Everything is already working fine without the “www”. I have access to my main blog on “”, and sub-domain are working.
    I know it’s a detail, it’s just a matter of habit I guess, but I prefer having the “www” in my address bar, when it’s not a sub-domain 😛

    I thought it was possible to set the redirection from “” to “”, without configuring WordPress Network on “”.
    And, as a good programmer, I am curious to know how it would be possible 😛

    But it seems the way wordpress is dealing with internal sub-domain is beyond my understanding 🙂

    So I’ll try to deal with it or go back to single wordpress blog installation …

    Thanks 🙂

    Moderator Ipstenu (Mika Epstein)


    Lead Plugin Wrangler

    I thought it was possible to set the redirection from “” to “”, without configuring WordPress Network on “”.

    Well… That’s not really the same thing 🙂

    See, Multisite is much more persinkety about where it lives than single site. But even with a single install you only get www or non-www, not both. Never both. WordPress will default to one or the other, and defaulting to non-www is better for Multisite, especially if you want to have later on.

    The internal subdomains is actually pretty simple. You point wildcard subdomains at’s install. Then you make a site called When WP catches that URL (remember, all subdomains are sent to it), it checks your sites and if it finds ‘sitename’ shows you that.

    Hi !

    Just to let you know that I have finally been able to do what I wanted :

    – I have WordPress Network configured on non-www domain
    – I have 2 A record (www et non-www) in my DNS Zone pointing to my VPS server IP
    – I have create a sub-domain “www”, and that prevent “” to be redirected by WordPress to “”
    – I have added 2 rewrite rules in Apache vhost configuration file, to redirect “mydomain” to “” except for “/wp-admin/network/

    So I have a blog, in network admin, on “” that I do not use and that is not accessible by its address
    And my main blog on “”, and accessible by redirection on “” also.

    Everything seems to work fine 😀

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Stop redirect to’ is closed to new replies.