Forum Moderators: open
<snip>Sorry, we can't have any email quotes.</snip>
anyone sees a logic here? both www.domain.com and domain.com server the same file and there is nothing unusual in it as far as i see. i hope position tech is not right and that yahoo is smart enough to distinguish domain.com from www.domain.com.
[edited by: WebGuerrilla at 2:27 am (utc) on April 19, 2004]
[edit reason] TOS #9 [/edit]
Figure out what kind of web server you have, and look for the appropriate method of permanent redirect.
Pick the method you prefer for accessing your site, either domain.com or www.domain.com. Set up your permanent redirect to make any requests for the unwanted url go to the proper url. After a few months, the world will forget the other site ever existed :)
You can accomodate both, as Slade says above, by permanently redirecting one to the other (as webmasterworld.com does). I'm pretty sure Google has penalised sites that haven't done this before now, and in any case I figure the safest bet is to get into the habit of redirecting them and then forget about it.
The problem is that you are then relying on the search engine to correctly identify the two sites and not penalise you for duplicate content. Their record in this regard is by no means perfect. Plus you also lose any benefit from links to http:/domain.com which 301s help pass over to www.domain.com
As for if Y! penalises sites for this, I've seen evidence that Google have in the past, so I can't see how it is worth the risk, especially with all the other benefits of using a redirect.
Before the RewriteRule, you might want to add a test to make sure that the domain is actually spelled without "www." before you make the redirect - otherwise you will also redirect those requests that already use the "www."
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) [example.com...] [R=301,L]I removed "^" and "$" from the RewriteRule leoo24 posted, i don't think they were wrong, but i don't think they made much of a difference either ;)
Let me make sure we are on the same page. Are you saying that there is a possibility a site could be penalized by doing the 301 permanent redirect or by NOT doing the 301 permanent redirect.
On the one hand it seems as though a site that is not 301 permanently redirecting domain.com to www.domain.com is risking a duplication penalty.
On the other hand it seems like Yahoo is having problems with 301 redirects and are penalizing sites for that too?
So what is the correct thing to do?
My site is currently penalized with Yahoo for no particular reason and I used the server header checker here and domain.com and www.domain.com both say 200 ok.
Did a try with the cpanel redirect,
worked for [mydomain.com...] perfect
but the www. one got an redirection as well.
Better speak to my host.
I checked my backlinks and donīt have any for my site without the www. in yahoo.
But my hosts domain had diferents backlinks in yahoo.com for domain with and without www. in google they had the same, seems like google counts both as same domain. My hosts domain is not penalized by yahoo.
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule (.*) [example.com...] [R=301,L]
btw: obviously you just switch www.example.com to your own domain :-)
donīt miss this, do a sitesearch for example, then check the pages in their site, there are plenty......donīt forget to click: repeat the search with the omitted results included.
but what I seen and I and many others uses as exampel for url: ..mysite.com, ..mydomain.com, ..exampel.com, ..whatever.com etc. and these domain exists, not whondering why they have so good PR, clever one that bought them :)
On the one hand it seems as though a site that is not 301 permanently redirecting domain.com to www.domain.com is risking a duplication penalty.
On the other hand it seems like Yahoo is having problems with 301 redirects and are penalizing sites for that too?
So what is the correct thing to do? <<<<<<<<<<<
I would like to know as well.
But considering, if you already are out of serps you donīt have much to loose to try it for some days.
On the one hand it seems as though a site that is not 301 permanently redirecting domain.com to www.domain.com is risking a duplication penalty.On the other hand it seems like Yahoo is having problems with 301 redirects and are penalizing sites for that too?
So what is the correct thing to do? <<<<<<<<<<<
Y! have said that they are trying to deal with their redirecting difficulties (not that i've seen much evidence in their serps) but in any case, IMO the only sensible choice is to redirect any duplicates (and I include non-www domains in this) to your main url.
i agree, it seems that the safest way to go now is to use only domain.com or www.domain.com especially if you have troubles with Y and nothing else seems to work and on top of this also positiontech says that the site does show duplicates.
i started to use mod_rewrite solution, google does not seem to have a problem with it at all and started to update the pages we have with them to include www in them. so far the change does not show any difference in Yahoo. if it requests anything from domain.com it gets regular 301 headers and normally is redirected to the same page and gets 200 code.
as this did not seem to change a thing, i also submitted the site to Site Match hoping that this might help somehow. really, i did anything that might have upset yahoo, but it still would not show anything unless you search for domain.com or www.domain.com in yahoo though it regularly crawls the site on daily bases.