Redirect vs Rewrite, and DUPLICATE content
- SEO |
My question (please NOTE that I am not permitted to post links here, yet, so I'll do my best to ask my question):
My URL (like most URLs) start with "www" However, a visitor can type "blahblahblahwww" or "abcdefg12345" instead of the www and still get to my homepage. This normally wouldn't bother me, except the search engines have indexed the "blahblahblahblah" version along with my "www" version. That's duplicate content.
What is the proper .htaccess syntax so that when the vistiors (or search engines) revisit the "blahblahblahblah" version, they will get redirected (or "rewrited" ??) to the normal "www" version?
Thank you!