WordPress.org

Support

Support » Multisite » [Resolved] Old site when you add 'www' (why is it even there)?

[Resolved] Old site when you add 'www' (why is it even there)?

Viewing 3 replies - 1 through 3 (of 3 total)
  • First of all, may I say I LOVE the picture of the guy in the Robin togs?

    Both versions point to the same IP, that’s good.

    It’s probably somethign on your server setup. You’re using Amazon, so it could be a cache issue. I would toss this in the top of my .htaccess to force no-www

    RewriteEngine On
    RewriteBase /
    RewriteCond %{HTTP_HOST} !^domain.com$ [NC]
    RewriteRule ^(.*)$ http://domain.com/$1 [L,R=301]

    Ha, thanks! That’s the ROBIN team! 🙂

    Problem is solved, thanks a lot! Also had to place this rewrite above all W3 cache rewrites. Hope this does not affect how the W3 caching plugin works?

    Thanks!

    It won’t 🙂 The magic to .htaccess is that the stuff on top happens first, so you’ll be forcing no-www and THEN caching.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] Old site when you add 'www' (why is it even there)?’ is closed to new replies.