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
-
How safe is it to use a meta-refresh to hide the referrer?
Hi guys, So I have a review site and I'm affiliated with several partnership programs whose products I advertise on my site. I don't want these affiliate programs to see the source of my traffic (my site), so I'm looking for a safe solution to hide the referrer URL. I have recently added a rel="noreferrer" tag to all my affiliate links, but this method isn't perfect as not all browsers respect that rule. After doing some research and checking my competitors I noticed that some of them use meta-refresh, which seems more reliable in this regard. So, how safe is it to use meta-refresh as means of hiding referrer URL? I'm worrying that implementing a meta-refresh redirect might negatively affect my SEO. Does anybody have any suggestions on how to hide the referrer URL without damaging SEO? Thank you.
Intermediate & Advanced SEO | | Ibis150 -
Are rel=author and rel=publisher meta tags currently in use?
Hello, Do these meta tags have any current usage? <meta name="author" content="Author Name"><meta name="publisher" content="Publisher Name"> I have also seen this usage linking to a companies Google+ Page:Thank you
Intermediate & Advanced SEO | | srbello0 -
Is it a problem to use a 301 redirect to a 404 error page, instead of serving directly a 404 page?
We are building URLs dynamically with apache rewrite.
Intermediate & Advanced SEO | | lcourse
When we detect that an URL is matching some valid patterns, we serve a script which then may detect that the combination of parameters in the URL does not exist. If this happens we produce a 301 redirect to another URL which serves a 404 error page, So my doubt is the following: Do I have to worry about not serving directly an 404, but redirecting (301) to a 404 page? Will this lead to the erroneous original URL staying longer in the google index than if I would serve directly a 404? Some context. It is a site with about 200.000 web pages and we have currently 90.000 404 errors reported in webmaster tools (even though only 600 detected last month).0 -
What is the Proper Use of 301 redirects for SEO purposes?
I heard and read from different sources that 301 redirects from aged domains with healthy link profiles is great to boost a sites rank as oppose to building a site around the page and linking it to the domain you want to rank. Whats is the best practice for this strategy? Thanks
Intermediate & Advanced SEO | | junkcars0 -
Is it ok to use both 301 redirect and rel="canonical' at the same time?
Hi everyone, I'm sorry if this has been asked before. I just wasn't able to find a response in previous questions. To fix the problems in our website regarding duplication I have the possibility to set up 301's and, at the same time, modify our CMS so that it automatically sets a rel="canonical" tag for every page that is generated. Would it be a problem to have both methods set up? Is it a problem to have a on a page that is redirecting to another one? Is it advisable to have a rel="canonical" tag on every single page? Thanks for reading!
Intermediate & Advanced SEO | | SDLOnlineChannel0 -
Using 2 wildcards in the robots.txt file
I have a URL string which I don't want to be indexed. it includes the characters _Q1 ni the middle of the string. So in the robots.txt can I use 2 wildcards in the string to take out all of the URLs with that in it? So something like /_Q1. Will that pickup and block every URL with those characters in the string? Also, this is not directly of the root, but in a secondary directory, so .com/.../_Q1. So do I have to format the robots.txt as //_Q1* as it will be in the second folder or just using /_Q1 will pickup everything no matter what folder it is on? Thanks.
Intermediate & Advanced SEO | | seo1234560 -
What's the best theme for seo if you are going to use yoast anyway
I am going to edit my theme myself so I don't need something like thesis for that. But people say that the thesis framework is amazing for seo, and it's hard to edit it manually. Does using the thesis theme do anything for you if you are going to use yoast anyway? Thanks William
Intermediate & Advanced SEO | | willie790 -
Managing 404 errors
What is the best way to manage 404 errors for pages that are no longer on the server. For example, client deletes old site from server and replaces it with new site. Webmaster tools is reporting 100 + 404 errors form the old site. I've blocked the 404 pages with robot.text. Requested removal in google webmaster tools. And created a custom 404 page - http://www.tvsphoto.com/missingurlexample Is there anything else I can do?
Intermediate & Advanced SEO | | SEOProPhoto0