Support » Fixing WordPress » multisite & 301 redirects

  • I upgraded an existing WP install to a multisite recently, and I noticed that it changed the way I was redirecting some URLs

    I have this code in my htaccess file:
    RewriteEngine on
    RewriteCond %{HTTP_HOST} ^decorativeconcreteofva.com$ [OR]
    RewriteCond %{HTTP_HOST} ^decorativeconcreteofcentralvirginia.com$ [OR]
    RewriteCond %{HTTP_HOST} ^decorativeconcreteva.com$ [OR]
    RewriteCond %{HTTP_HOST} ^decorativeconcretevirginia.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.decorativeconcreteofva.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.decorativeconcreteofcentralvirginia.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.decorativeconcreteva.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.decorativeconcretevirginia.com$ [OR]
    RewriteCond %{HTTP_HOST} ^www.decorativeconcreteofcentralva.com$ [OR]
    RewriteCond %{HTTP_HOST} ^decorativeconcreteofcentralva.com$
    RewriteRule ^(.*)$ http://www.decorativeconcreteofvirginia.com/$1 [R=301]

    but for some reason, it still redirects everything as a 302.

    This was working fine before I upgraded to multi-site.

    Any suggestions?

    Tim

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