Get exclusive CAP network offers from top brands

View CAP Offers

Simple Question

alexpratt asked 4 years ago
Quick question:

If I have a site and it shows up on http://domain.com and http://www.domain.com will google see them as duplicate content and punish me for that – Someone mentioned in passing that would happen?

7 Answers
elgoog answered 4 years ago
yes Alex,

there certainly is a change Google will see this as 2 different sites with the same content
put this in a .htaccess file:



RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.example.com [NC]
RewriteRule ^(.*)$ http://www.example.com/$1 [L,R=301]


maybe change the com also

cheers

Engineer answered 4 years ago
I do what elgoog does, but the code in my .htaccess file looks a little different. Here’s what I use:

RewriteEngine On
RewriteCond %{HTTP_HOST} ^5starslots.com$ [NC]
RewriteRule ^(.*)$ http://www.5starslots.com/$1 [R=301,L]

Whenever someone goes to a non-www page of your site, the above code (in the .htaccess file) instantly redirects the page to the www version.

Try going to http://5starslots.com/new-slots-1.html and you can see how this works. The non-www is redirected to the www version immediately.

alexpratt answered 4 years ago
Thanks very much!

slotplayer answered 4 years ago
Google Webmaters Tools does let the webmaster set the Preferred Domain

Preferred domain [?]

If xwww.slottipsguide.com and slottipsguide.com point to the same site, you can tell us here how you want URLs to display in our index.

Display URLs as xwww.slottipsguide.com (for both xwww.slottipsguide.com and slottipsguide.com)

Display URLs as slottipsguide.com (for both xwww.slottipsguide.com and slottipsguide.com)

Don’t set an association

rob3786 answered 4 years ago
I read online that duplicate content like alex mentioned is not a problem and only a rumour. There is tons of duplicate content across the net google doesnt penalise everyone for it otherwise there would be penalties everywhere.

allfreechips answered 4 years ago
Dmoz would be in trouble <span title=” title=”” class=”bbcode_smiley” />

kaus answered 4 years ago
Sorry double posted another reponse for the rewrite.