redirect 301 /youroldfile.html http://www.you.com/yournewfile.html
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^yoursite.com [NC]
RewriteRule ^(.*)$ http://www.yoursite.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^domain\.com [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
RewriteCond %{HTTP_HOST} ^domain\.com
RewriteRule ^(.*)$ http://www.domain.com/$1 [R=permanent,L]
RewriteCond %{HTTP_HOST} !^www\.yourdomain\.com
RewriteCond %{SERVER_PORT} ^80
RewriteRule (.*) http://www.yourdomain.com/$1 [R=301,L]
JustOneUK said:I have one in place...
if you go to justoneuk.com it will redirect you to the www version, so it appears to be working.... but google is not taking out the non www pages out of it's index...and it should.![]()