I'm running an e-commerce website with hundreds of products, we're using an ASP-based Shopping-cart and the product pages generated dynamically. (like product.asp?id=XXX)
From a time to time we remove old products and add new ones, however when Google requesting the product page for one of those removed products the shopping-cart software will deliver a page with an error like "product not available" (the same error and same page for all unavailable products).
Now the old products pages shows at Google as a supplemental results.
And my first question is: what a kind of redirection or correction that we need for those removed pages. Do we have to change this error page with a 404 page?
The second question is: I've noticed when running a search for site:mydomain.com that the (mydomain.com/) result shows as a supplemental While www.mydomain.com/ shows as a normal result with the correct title. So do we need a redirection here, Knowing that my site doing good in the SERP and show in first page for most of the targeted KWs.
Msg#: 33772 posted 12:21 am on Apr 5, 2006 (gmt 0)
The visible content of the "error" page can be customized or not. What matters is that the server returns a 404 http header - whether the page is the default or customized.
On the "www" issue, it sounds like Google has you indexed well -- putting the no-www urls into supplemental makes sense to me. Since you are doing well in the SERPs, there's no compelling need to put the redirect in place.
However, putting the 301 in place is not a big step, either, and it could prevent future troubles (although I have every hope that Google is finally sorting all that out.) Also, you may have some low level troubles from the split indexing that haven't crossed your radar so far, and with the 301 you could eventually see a gentle nudge upward if that's so.
Is it better to return a " 404 Not Found" and then generate the custom "product not found message" from the ASP product's page itself instead of forwarding to the message page and without any 301 or 302 redirections.