I am trying to get the non-www cached site out of google (for some time now) i have been using the top example, should i use the bottom example with the code 301 in it? and why does the bottom example have the extra $ [NC] at the end of the first line? RewriteEngine on RewriteCond %{HTTP_HOST} ^digitalpoint\.com RewriteRule ^(.*)$ http://www.digitalpoint.com/$1 [R=permanent,L] RewriteEngine on RewriteCond %{HTTP_HOST} ^digitalpoint\.com$ [NC] RewriteRule ^(.*)$ http://www.digitalpoint.com/$1 [R=301,L] Code (markup):