.htaccess - url canonicalization

I am trying to fix URL Canonicalization on my websites. Sites are hosted on a shared domain. When i use the following rewrite, I get external error on all my sites.

My .htaccess file sits inside the /htdocs folder structure:


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

RewriteCond %{HTTP_HOST} *!^www*.mymarketingsolutions\.com [NC]
RewriteRule (.*) http://www.mymarketingsolutions.com/$1 [L,R=301]

RewriteCond %{HTTP_HOST} *!^www*.xpeditefulfillment\.com [NC]
RewriteRule (.*) http://www.xpeditefulfillment.com/$1 [L,R=301]

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.