Support » Networking WordPress » redirects to

Viewing 15 replies - 1 through 15 (of 15 total)
  • Update: I made the change from to, problem 1 persists. Problem 4 changes in a quite weird way (so now any page for end up redirected to the home page). And finally problem 5 remains except that points to

    Update 2: I deleted that Permalink Fix plugin, and Problem 4 is resolved. Problem 5 persists, and Problem 1 persists as well ( get redirected to

    Sigh, wish Tim Berner Lee never put that www there…


    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    Double check on the server side you don;t have anything set up to force the www. Some hosts have a wee checkbox.

    Can you be more specific about the server side settings? I do have the domain name set up as (and so on the DNS records, because the server didn’t allow me to use www), but it’s been like this forever.

    And an alias has been configured to point to

    Moderator Ipstenu (Mika Epstein)


    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    Did you set your site up as www or non when you built it?

    Andrea Rennick


    Customer Care at Copyblogger Media and Studiopress

    And an alias has been configured to point to

    Point to? Or to point hte www to the non-www?

    If you aren;t usrewher ethe server setting is, then ask your host.

    Originally, when my site is set up, I believed I didn’t use www, and that’s what’s on the DNS record. There is an server alias for Currently in my database (as it was for about 12 months before this happened), the site URL and home URL are both

    I called my hosting company and they said that the site is running on, but an alias is created for to point to But the thing is, if you looked at my previous posts, you would see the kind of mess I’m getting into if I use in the home and site URL instead.

    Moderator Ipstenu (Mika Epstein)


    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    You should ALWAYS set a multisite up as

    I think the problem is how your server is aliased. That is, the alias isn’t forwarding to non-www correctly. You could do an htaccess redirect to force it, putting in the code like this ABOVE the WordPress section.

    # permanently redirect from www domain to non-www domain
    RewriteEngine on
    Options +FollowSymLinks
    RewriteCond %{HTTP_HOST} ^www\.domain\.tld$ [NC]
    RewriteRule ^(.*)$ http://domain.tld/$1 [R=301,L]

    There is just an easy solution for this


    Turning off Allow users to create a subsite.

    WPMS (wordpress multisite) has a cool feature that new users can create new website. So if they search for and this one does not exist they are redirected to some nice signup page for creating the newly blog helloworld.

    However if you do not want this you can disable this and your adviced to put a line in your wp-config.php redirecting users instead of the create new blog screen to the main index of the main domain or any other page within that website….. except the 404. The line to add is define( ‘NOBLOGREDIRECT’, ‘’ );

    But this means that when a page does not exist and a 404 should be generated the 404 is also never reached. So you 404 is disabled by this instructions. It took me some time to figure this out and to solve it.

    The solutions is pretty simple. Just create a folder in your wp-content called : mu-plugins

    in the mu-plugins you just insert a php file name custom.php with this content. Or whatever name

    remove_action( 'template_redirect', 'maybe_redirect_404' );

    Now what happens is that users who call a blog that not exists get redirected to the root of the main domain to the index.php and really 404’s are handled like they should be handled.

    so that one is solved and can be taken of the list.

    Best regards,

    Moderator Ipstenu (Mika Epstein)


    πŸ³οΈβ€πŸŒˆ Halfelf Rogue & Plugin Review Team Rep

    BackuPs – Please don’t sign your posts, it’s against the rules.

    Also re-read what she said. She already tried noblogredirect. AND it’s not 404ing, it’s going to her main domain.

    Where can i read those rules?

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    Gripping reading those rules, couldn’t put it down…

    Thanks for pointing that out to me. Didn’t know that thought i was just being polite on signing it and giving my best regards,….. LOL


    I tried the set of rules you gave me, Ipstenu, but it caused a 310 redirect (right back to the beginning of the whole thing). It got me thinking, there must be some sort of redirect in the first place, no?
    Redirect errors are caused by loops, that I know. So basically one rule is trying to direct to (server alias) while the other is redirecting to (your rules). Perhaps should I just remove that server alias, and try to add an htaccess rule to allow typing in of (and try to point it to

    Another possible culprit that has come to mind is the W3 total cache. I’m using the plugin and it generates a huge amount of htaccess rules that was previously placed before the #wordpress section of htaccess. I moved it to the bottom, but nothing changes.

    Now the really weird thing is that, even though I disabled blog farms AND user signup. Somehow my WordPress installation is offering it? How did it override that logic?


    Edit: in addition, I’ve also tried your method Backups, to create mu-plugins and insert custom.php. Unfortunately, it still redirects to wp-signup.php?
    PS: if someone needs to access the back end and take a look, feel free to give me a holler at (swap y for i).

    I too mistakenly set up my site as instead of, and finally found this thread, added noblogredirect and have solved my problem for the time being…however, I am concerned about how google is indexing the site now — should I go in and change the address in google webmaster tools to the non-www version?

    I really wish I had seen this before building my multisite network. Now that I have the main site as, I see that it is treated like a subdomain just like all the other subdomains in my network.

    I could rebuild. Is there any SEO issue if I just use the wp-config rule? Do I also have to add the additional file in mu-plugins?

    Thanks in advance!

    Just thought I should update the information. Somehow, I went back to change all back to and now it works fine. Most of it anyway, but still having trouble with that blog farm thing. So thanks for all the inputs, they have been very helpful.

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘ redirects to’ is closed to new replies.