WebmarkeningNow, Logo
Home Services Training Tips Search Engines Hire Us Careers Help About Us Contact


See Me Speak. PubCon, Las Vegas



Learn straight from Certified
SEO Professionals



End your Frustration. Hire a Certified
SEO Specialist



Our recomended tools for
our Testing Labs

Home > Tips > Web Design > Non-WWW Page Protection

Non-WWW page protection

Many websites get nailed by Google's duplicate content penalty for the simple reason that they fail to protect themselves against non-www page access. Without WWW page protection in place search engines will typically index your site as "www.domain.com" and as just "domain.com". When this happens a page may be indexed twice and you get penalized for duplicate content.

There is a simple fix. With a quick modification of your .htaccess file you can automatically re-write urls to always ensure the WWW is in place and prevent duplicate indexing.

Simply copy the code below and paste into your htaccess file. Pay special attention to change any place it says "webmarketingnow.com" to your domain name. This will help ensure that this is not a reason why you get nailed by the Google Duplicate Content Penalty:

# 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 #

 

------
2000, WebMarketingNow.com
Jerry West is the Director of Internet Marketing for WebMarketingNow. He has been consulting on the web since 1996 and has assisted hundreds of companies gain an upper-hand over their competition. Visit http://www.webmarketingnow.com/ for the latest in marketing tips that are tested and proven.

The above article can be reproduced on your site or e-zine as long as the signature file remains.



Subscribe to our web marketing newsletters or search our archives.

We highly recommend our paid membership to receive the latest newsletters that will keep you ahead of your competition.

 
HomeServicesTrainingTipsSearch EnginesHire UsAffiliate ProgramNewsReviewsReferenced Articles
AboutCareersMember loginHelpContact Us
Web Marketing Now promotes, endorses, recommends and/or suggests products and/or services
throughout our website and through email campaigns. Read More.
Customer Care: Voice - 828.624.5150, info@webmarketingnow.com
© 2010 Web Marketing Now LLC. Your Privacy is always protected
Privacy Policy | Terms of Use | DMCA Policy