I've been reading about SEO and found it is recommended to redirect all http://domain.com domains to http://www.domain.com.
this can be done a few ways. the one i'm trying out is doing it via .htaccess.
RewriteEngine on
RewriteCond %{HTTP_HOST} yourdomain\.com [NC]
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com [NC]
RewriteRule ^(.*) http://www.yourdomain\.com/$1 [L,R=301]
more info can be found here: http://www.stonetemple.com/articles/301-redirects.shtml
Thought people may find it useful, i'm going to try this out for a while on one site and then if successfull wiill use it as part or every .htaccess file.
Does anyone have any experience with this and is it worth adding to the default typolight .htaccess file as standard?
Ben
Bookmarks