Posted By

zartgesotten on 06/27/09


google content htaccess duplicate seo

Versions (?)

Who likes this?

2 people have marked this snippet as a favorite


edit htaccess to prevent duplicate content

 / Published in: HTML

This is to prevent duplicate content when your provider directs your to the same place as

  1. Options +FollowSymlinks
  2. RewriteEngine on
  3. RewriteCond %{HTTP_HOST} !^www. [NC]
  4. RewriteCond %{HTTP_HOST} !^$
  5. RewriteRule ^(.*) http://www.%{HTTP_HOST}/$1 [R=301]

Report this snippet  

You need to login to post a comment.