What to use instead of a 404
-
Hey there Mozzers,
What would be preferable to use instead of a 404 on a ecommerce website.
Can I use a 301 redirection to the main category of the product? So for example if I have a t-shirt that is not available anymore can I use a 301 to redirect the traffic to the clothing category?
-
Hi,
It's not about 'using 404 pages'. It's about removing the occurence of a 404 page when a product isn't available...
So the answer is yes. It's fine to redirect what was a product page to the main relevant category page if that product is no longer available and you don't plan on restocking in the future.
In fact it's recommended if you want to preserve a large percentage of the link equity the original page has built up, and hopefully provide a good user experience by allowing customers to find alternative products.
The only issue is if you have thousands of products being discontinued, then the amount of 301s can affect the speed of your website. But I've managed redirects for websites with 100s of thousands of products, and 10s of thousands of error pages without any issue.
I'd echo Yossi in saying that it may be worth creating a custom 404 Error Page which helps your users if they encounter it, and also improves your branding - with most eCommerce sites with large inventories, it's inevitable error pages will crop up despite your best efforts.
And I'd echo Nitin in saying that if you might get the product back again, you're better leaving the pages on the site and allowing customers to register their interest when it reappears...
-
Hi AngeloS,
I agree with Yossi that soft 404 is not a good practice if the product isn't available.
But here, you're talking about the case where your product isn't available anymore, which is not the 404 case clearly. 404 means, resource not found on the website. So, your page is not 404 semantically as page it still there with a different availability status.
Here comes my recommendations on this:
- If the "product" is temporarily unavailable, you can show an appropriate message with 200 http status. Additionally, for better UX, you can show a recommendation bar showing other related products and a notify-me option where you can get user's email id on which you can send a notification mail as soon as this product gets back in stock.
- If the "product" is permanently discontinued and you want to get rid of that page altogether, you can probably show 200 http status with an appropriate message and have a noindex tag on these pages, or you can start showing 410 http status if you want to convey a message to bots that your "page" won't come back ever.
You can read more about HTTP status codes here.
Hope this helps!
-
Hi..
Google guidelines recommends that If a page does not exist, you should state that clearly to the user and return a 404 page.
What you really need to do is to set up a very clever 404 page so you will not loose the client. There are many ecommerce sites that have super clever 404 pages where users are able to see similar items that are in stock, make a search or go to different page.. Just be creative and research what works for your competitors.Using 301 to 404 pages is a bad practice in general..
Good luck
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Productontology URLs are 404 erroring, are there alternatives to denote new schema categories?
Our team QA specialist recently noticing that the class identifier URLs via productontology are 404ing out saying that the "There is no Wikipedia article for (particular property)". They are even 404ing for productontology URLs that are examples on the productontology.com website! Example: http://www.productontology.org/id/Apple The 404 page says that the wiki entry for "Apple" doesn't exist (lol) Does anybody know what is going on with this website? This service was extremely helpful for creating additionalType categories for schema categories that don't exist on schema.org. Are there any alternatives to productontology now that these class identifier URLs are 404ing? Thanks
Intermediate & Advanced SEO | | RosemaryB0 -
Website using search term as URL brand name to cheat Google
Google has come a long way over the past 5 years, the quality updates have really helped bring top quality content to the top that is relevant for users search terms, although there is one really ANNOYING thing that still has not been fixed. Websites using brand name as service search term to manipulate Google I have got a real example but I wouldn't like to use it in case the brand mentions flags up in their tools and they spot this post, but take this search for example "Service+Location" You will get 'service+location.com' rank #1 Why? Heaven knows. They have less than 100 backlinks which are of a very low, spammy quality from directories. The content is poor compared to the competition and the competitors have amazing link profiles, great social engagement, much better website user experience and the data does not prove anything. All the competitors are targeting the same search term but yet the worst site is ranking the highest. Why on earth is Google not fixing this issue. This page we are seeing rank #1 do not even deserve to be ranking on the first 5 pages.
Intermediate & Advanced SEO | | Jseddon920 -
Used Alternate Domain for Print Material But not Showing up in SERPs
Used an alternate domain name to send print advertising traffic to so we could measure effectiveness. The domain does not have any content on it and only forwards to our actual domain. The issue is neither domain shows up when people search the alternate domain name without .com. The question is, will putting up content under that domain, including meta data, and submitting the site to Google as well as running fetch as Google make the alternate domain name to show up... it's an extremely unique domain name and there's basically zero competition for it.
Intermediate & Advanced SEO | | Dom4410 -
Google showing me a 404 link from an external source?
In my list of 404 errors from Google webmaster I have one with the "linked from" section showing an external link. This seems like a broken link (which obviously I will try and fix to get the link juice) but why would Google recognize it as a 404? From Google: | URL: | www.broken URL | | | Error details | In Sitemaps | Linked from | | <colgroup><col></colgroup>
Intermediate & Advanced SEO | | theLotter
| http://externalwebsite.com |
| | |0 -
Duplicate content: is it possible to write a page, delete it and use it for a different site?
Hi, I've a simple question. Some time ago I built a site and added pages to it. I have found out that the site was penalized by Google and I have neglected it. The problem is that I had written well-optimized pages on that site, which I would like to use on another website. Thus, my question is: if I delete a page I had written on site 1, can use it on page 2 without being penalized by Google due to duplicate content? Please note: site one would still be online. I will simply delete some pages and use them on site 2. Thank you.
Intermediate & Advanced SEO | | salvyy0 -
Do you use your own Blog networks?
Do you use a network of sites you own for links to your clients in your seo efforts? I see so many seo companies doing this from such junk sites with all their clients in the blog roll, it seems totally crazy. It seems this stuff works do any of you do this if so how do you keep it white hat?
Intermediate & Advanced SEO | | DavidKonigsberg0 -
Is it fine to use an iframe for video content? Will it still be indexed on your URL?
If we host a video on a third party site and use an iframe to display it on our site, when the video is indexed in SERPs will it show on our site or on the third party site?
Intermediate & Advanced SEO | | nicole.healthline0 -
HTML5 and using multiple H1 tags
Hi All, Our dev team have just asked me a very interesting question........ Within the context of an HTML5 page, where it is supported and encouraged to use multiple H1 tags, will the use of multiple H1 tags be detrimental to SEO? or does Google fully understand how HTML5 works and therefore not penalise a website for using multiple H1 tags? I have an opinion on this that if it helps usability and user experience then it is likely that it will be good for SEO. It would be really good to hear views of people who have tried this or have decided against it! Thanks
Intermediate & Advanced SEO | | A_Q0