Archive for January, 2009

quick fix | No Comments | January 24th, 2009

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

quick fix | No Comments | January 24th, 2009

place this code in .htaccess file ::

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