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
-
Using same copy on different domain
I have a client that currently has a .com domain (not using hreflang) . They have a new partner in the UK and they want to replicate the website and use a .co.uk domain. It will be a different brand name. Will this cause any SEO issues?
Intermediate & Advanced SEO | | bedynamic0 -
External 404 pages
A client of mine is linking to a third-party vendor from their main site. The page being linked to loads with a Page Not Found error and then replaces some application content once the Javascript kicks in. This process is not visible to users (the application loads fine for front-end users) but it is being picked up as a 404 error in broken link reports. This link is part of the site skin so it's on every page. Outside of the annoyance of having lots of 404 errors being flagged in a broken link report, does this cause any actual issue? Eg, do search enginges see that my client is linking to something that is a 404 error, and does that cause them any harm?
Intermediate & Advanced SEO | | mkleamy0 -
Ranking without use of keywords on page & without use of matching anchor text??
Howdy folks. So, here is a dilemma. One of competitors of ours is somehow ranking for a keyphrase "houston chronicle obituaries" without any usage of these keywords on the page, without any full or partial anchor text match ("chronicle" is not used anywhere). The rest of competitiors' rankings make sense. Any ideas?
Intermediate & Advanced SEO | | DmitriiK0 -
Can cross domain canonicals help with international SEO when using ccTLDs?
Hello. My question is:** Can cross domain canonicals help with international SEO when using ccTLDs and a gTLD - and the gTLD is much more authoritative to begin with? ** I appreciate this is a very nuanced subject so below is a detailed explanation of my current approach, problem, and proposed solutions I am considering testing. Thanks for the taking the time to read this far! The Current setup Multiple ccTLD such as mysite.com (US), mysite.fr (FR), mysite.de (DE). Each TLD can have multiple languages - indeed each site has content in English as well as the native language. So mysite.fr (defaults to french) and mysite.fr/en-fr is the same page but in English. Mysite.com is an older and more established domain with existing organic traffic. Each language variant of each domain has a sitemap that is individually submitted to Google Search Console and is linked from the of each page. So: mysite.fr/a-propos (about us) links to mysite.com/sitemap.xml that contains URL blocks for every page of the ccTLD that exists in French. Each of these URL blocks contains hreflang info for that content on every ccTLD in every language (en-us, en-fr, de-de, en-de etc) mysite.fr/en-fr/about-us links to mysite.com/en-fr/sitemap.xml that contains URL blocks for every page of the ccTLD that exists in English. Each of these URL blocks contains hreflang info for that content on every ccTLD in every language (en-us, en-fr, de-de, en-de etc). There is more English content on the site as a whole so the English version of the sitemap is always bigger at the moment. Every page on every site has two lists of links in the footer. The first list is of links to every other ccTLD available so a user can easily switch between the French site and the German site if they should want to. Where possible this links directly to the corresponding piece of content on the alternative ccTLD, where it isn’t possible it just links to the homepage. The second list of links is essentially just links to the same piece of content in the other languages available on that domain. Mysite.com has its international targeting in Google Search console set to the US. The problems The biggest problem is that we didn’t consider properly how we would need to start from scratch with each new ccTLD so although each domain has a reasonable amount of content they only receive a tiny proportion of the traffic that mysite.com achieves. Presumably this is because of a standing start with regards to domain authority. The second problem is that, despite hreflang, mysite.com still outranks the other ccTLDs for brand name keywords. I guess this is understandable given the mismatch of DA. This is based on looking at search results via the Google AdWords Ad Preview tool and changing language, location, and domain. Solutions So the first solution is probably the most obvious and that is to move all the ccTLDs into a subfolder structure on the mysite.com site structure and 301 all the old ccTLD links. This isn’t really an ideal solution for a number of reasons, so I’m trying to explore some alternative possible routes to explore that might help the situation. The first thing that came to mind was to use cross-domain canonicals: Essentially this would be creating locale specific subfolders on mysite.com and duplicating the ccTLD sites in there, but using a cross-domain canonical to tell Google to index the ccTLD url instead of the locale-subfolder url. For example: mysite.com/fr-fr has a canonical of mysite.fr
Intermediate & Advanced SEO | | danatello
mysite.com/fr-fr/a-propos has a canonical of mysite.fr/a-propos Then I would change the links in the mysite.com footer so that they wouldn’t point at the ccTLD URL but at the sub-folder URL so that Google would crawl the content on the stronger domain before indexing the ccTLD domain version of the URL. Is this worth exploring with a test, or am I mad for even considering it? The alternative that came to my mind was to do essentially the same thing but use a 301 to redirect from mysite.com/fr-fr to mysite.fr. My question is around whether either of these suggestions might be worth testing, or am I completely barking up the wrong tree and liable to do more harm than good?0 -
404's and Ecommerce - Products no longer for sale
Hi We regularly have products which are no longer sold and discontinued. As we have such a large site, webmaster tools regularly picks up new 404's. These 404 pages aren't linked to from anywhere on the site any longer, however WMT will still report them as errors. Does this affect site authority? Thank you
Intermediate & Advanced SEO | | BeckyKey0 -
How to use the information
I've just signed up and now I want to start using all the information that your site is providing. How do I go about it? I know how to get to the 'back end' of my site, Joomla (CMS) and can alter all the information. I just need to know how to implement all the data you give me. Sorry, but I am new to this.....
Intermediate & Advanced SEO | | Aim4fun0 -
Do you use a different tactic to optimize for Bing?
Google is king, but it seems as though there is a significant source of traffic and revenue from Bing. What is the preferred strategy? Optimize for Google and hope it filters to Bing? An obvious concern would be that if we change tactics to please Bing, we could stand to lose our rankings with Google. Any opinions/thoughts/feedback/suggestions would be appreciated.
Intermediate & Advanced SEO | | NaHoku0 -
Do I need a canonical tag on the 404 error page?
Per definition, a 404 is displayed for different url (any not existing url ...). As I try to clean my website following SEOmoz pro advices, SEOmoz notify me of duplicate content on urls leading to a 404 🙂 This is I guess not that important, but just curious: should we add a cononical tag to the template returning the 404, with a canonical url such as www.mysite.com/404 ?
Intermediate & Advanced SEO | | nuxeo0