Search code examples
mod-rewritesearch-engine

Does redirecting from http://domain.com to http://www.domain.com Avoids Duplicate Content On Google?


I heared that if i don't redirect the user from http://domain.com to http://www.domain.com it will causes duplicate content of my website on google & other search engines, is that happening? and What is the Mod rewrite Syntax to do it through .htaccess ?

Thanks


Solution

  • google (and other big searches) usually detects "full clone", especially without www. prefix. You can register site in google webmasters and select, will google use www. prefix for your site, or should it use only domain.com.