- This topic is empty.
-
AuthorPosts
-
August 17, 2007 at 12:27 pm #604458AnonymousInactive
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?
August 17, 2007 at 1:55 pm #745915AnonymousInactiveyes 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 alsocheers
August 17, 2007 at 2:38 pm #745923AnonymousInactiveI 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.
August 17, 2007 at 2:39 pm #745924AnonymousInactiveThanks very much!
August 17, 2007 at 3:21 pm #745939AnonymousInactiveGoogle 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
August 17, 2007 at 3:39 pm #745945aaronsmithMemberI 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.
August 17, 2007 at 4:05 pm #745953AnonymousInactiveDmoz would be in trouble
August 17, 2007 at 6:44 pm #745965edgarpokerMemberSorry double posted another reponse for the rewrite.
-
AuthorPosts