I have a webshop that sells second hand stuf so our products disappear from the website when they are sold. In google my product pages are also indexed so when a client click on this link and the product is already sold they will see a 404 page. How do i redirect this client to the category of this product?
So when i type in second hand wooden table in google my link appear in the results when a client clicks this he will be redirected to the category tables when the product is no longer available.
Or does someone have another solution? No-index my product pages? But I think this is not great for my seo?
I have found this but how do you do this in magento?
“301ing disabled products
Consider this scenario. You sell a great, useful amazing product, everyone loves it. They love it so much that the product goes viral and youÃ¢â¬â¢ve got thousands of inbound links to it. A year later, the product is no longer available, and you disable it from your website. What then happens to users that click on those links? What happens to search engines the next time they spider your site? What happens to all that link juice being passed to that page? The answer to all of the above isÃ¢â¬Â¦ 404
This is a pretty common issue we come across with eCommerce platforms, when products are disabled, and a user tries to go to that now defunct URL, they get a 404 error. While we do recommend customizing your Ã¢â¬Ånot foundÃ¢â¬Â pages to at least include a search or related pages, what would be more effective from an SEO perspective, and a userÃ¢â¬â¢s perspective is if they got directed to another page that was related to the product that is no longer available. What we do is actually create a means for which Magento administrators can setup a Ã¢â¬Åredirect toÃ¢â¬Â product (or category) so that when a product is disabled, instead of the user (or search engine) getting a 404, they actually get taken to a product that might have replaced it, a related product, or even the parent category if you no longer carry that product. This will help retain any search engine positioning that product was getting, preserve any link juice that was being passed to that page, as well as creating a better user experience. A win all the way around.”