Topical SEO | my notes

CAT | On Page

Jan/08

2

Fixing Internal Duplicate Content

Jerry West has a great post on his site about how to avoid internal duplicate content penalties that can occur if someone links to your site using the “www” version of your domain name when your site is setup to not use it.

The post also points out the danger of using internal relative links.

The fix is a simple bit of code added to your .htaccess file which forces browsers to used your preferred version of you domain.

# Begin non-www page protection #
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www\.webmarketingnow\.com [NC]
RewriteRule ^(.*)$ http://www.webmarketingnow.com/$1 [L,R=301]
</IfModule>
# End non-www page protection #

YouTube Preview Image

No tags Hide

Find it!

Theme Design by devolux.org

Tag Cloud

pdf plugins WordPress
MT