Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Increase 404 errors or 301 redirects?
-
Hi all,
I'm working on an e-commerce site that sells products that may only be available for a certain period of time. Eg. A product may only be selling for 1 year and then be permanently out of stock. When a product goes out of stock, the page is removed from the site regardless of any links it may have gotten over time.
I am trying to figure out the best way to handle these permanently out of stock pages. At the moment, the site is set up to return a 404 page for each of these products. There are currently 600 (and increasing) instances of this appearing on Google Webmasters. I have read that too many 404 errors may have a negative impact on your site, and so thought I might 301 redirect these URLs to a more appropriate page. However I've also read that too many 301 redirects may have a negative impact on your site.
I foresee this to be an issue several years down the road when the site has thousands of expired products which will result in thousands of 404 errors or 301 redirects depending on which route I take.
Which would be the better route? Is there a better solution?
-
That's right.
A soft 404 is still a missing document, but it allows the user to continue through the pages without leaving the website.
Tom
-
Thanks Tom. Just want to clarify with you when you use the term "soft 404 page" in your context. You mean an actual page that exists, but basically lets the visitor know that the product is no longer available for various reasons right? Not a soft 404 url error that Google reports on Webmaster Tools.
-
That shouldn't hurt your site. I rebuild an e-commerce site which had 50.000 redirects in place at the moment i was working on it. Of course it adds a little bit of load to the server but it's not really noticable. This way you will keep the value of the old links.
Thomas Hall is right about the soft 404 pages being generally more acceptable. If you care more about the user experience then about the value from your old links then you could build a dynamic 404 page.
This page should tell the visitor that the product no longer exist and should give them a couple of products which are similar of relevant to the product they were searching for. This way you will improve the user experience with a soft 404.
Just to be clear, you don't have to set a redirect to the home page. You could also do it to the category pages or to popular products. It's very difficult to say since i don't know which branch your in. Who your target group is and what they are interested in.
-
Hi Wesley, thanks for the response. I have no issues with your suggestion, my only concern is the amount of 301 redirection rules that may result of this. Like I said, in several years, the amount of 301 redirection rules can increase to the thousands. I'm afraid this will affect server load & page speed, therefore hurt my site.
-
If you compare 404pages with 301redirections I believe 301 is a better option and here is why!
When a visitor of your website reach to a page that is no more present on your website, they will find the 404 page which may leads the visitor to bounce from the website as usually 404 pages hurt user experience.
The idea is to 301 them to appropriate pages so that they never see any broken page on the website and can easily perform the desired actions while continuing their journey on the website.
This will also help increasing the time on site which will impact positively on your site nad rankings in search engines.
-
Hi there,
What Wesley said is true to a certain extent. This would probably be the best way to do it (301 Redirect) but as an owner of many eCommerce companies, I'd have to disagree. Mainly on the basis that a "soft 404" would be more generally accepted than just being redirected to the homepage for no explanation to why.
Here's an example, your client is selling TV's online and they're using Magento Enterprise. Let's pretend that they have a TV from Sony, it's a 62" LED SmartTV, Full HD, the works and your client has 200 of these in stock and they're selling them around $/£300 cheaper than the competition. The link gets shared around amongst Facebook, Twitter, HotUkDeals etc.
So let's say after just 7 days, they sell out of this awesome offer... Somebody see's the link late (Facebook, Twitter, etc, it happens) and when they click on that link the website loads but the product doesn't, they just see the homepage. They're going to waste around 15 minutes perhaps searching for that product that you and I both know, doesn't exist anymore.
So what we tend to do, is create a "soft 404" page, which is basically a page apologising for the missing product, explaining that it may be out of stock, temporarily removed from the website etc, but at the same time we will have an array of SIMILAR products that may interest someone who wanted a 62" LED Full HD SmartTV.
I don't know whether I'd say this is a great SEO advantage or a great marketing advantage, but either way, in my personal opinion, I'd say this is a much better option than just pointing the customer/browser to the homepage when they are in search of something specific and don't get a reason to why they're seeing the homepage and not the fantastic offer they've seen!
Hope this answer helps you, even if it's just insightful!
Tom
-
The 301 redirect would be a better option.
I will try to explain why this is better than a 404 page.
1. If people posted a link to the product PageRank to your website.(This is one of the ranking factors in Google) If the page doesn't exist anymore and brings up the 404 page it will lose the value from all the links to that particular product. If you use a 301 redirect to send visitors to a relevant product or to the homepage then the value from those links will have effect on the page where you send them to.
2. Nobody likes a 404 page. There are very cool things you can do with a 404 page so that they are still helpful to the visitor such as most popular pages, a search function and even jokes. But in the end nobody would have clicked on the link or typed in the url to your website and think: Now i want to see his 404 page.
I hope i answered your question. Let me know if anything was unclear.
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
-
301 redirect syntax for htaccess
I'm working on some htaccess redirects for a few stray pages and have come across a few different varieties of 301s that are confusing me a bit....Most sources suggest: Redirect 301 /pageA.html http://www.site.com/pageB.html or using some combination of: RewriteRule + RewriteCond + RegEx I've also found examples of: RedirectPermanent /pageA.html http://www.site.com/pageB.html I'm confused because our current htaccess file has quite a few (working) redirects that look like this: Redirect permanent /pageA.html http://www.site.com/pageB.html This syntax seems to work, but I'm yet to find another Redirect permanent in the wild, only examples of Redirect 301 or RedirectPermanent Is there any difference between these? Would I benefit at all from replacing Redirect permanent with Redirect 301?
Technical SEO | | SamKlep1 -
Proper 301 redirect code for http to https
I see lots of suggestions on the web for forwarding http to https. I've got several existing sites that want to take advantage of the SSL boost for SEO (however slight) and I don't want to lose SEO placements in the process. I can force all pages to be viewed through the SSL - that's no problem. But for SEO reasons, do I need to do a 301 redirect line of code for every page in the site to the new "https" version? Or is there a way to catch all with one line of code that Google, etc. will recognize & honor?
Technical SEO | | wcksmith10 -
Robots txt. in page with 301 redirect
We currently have a a series of help pages that we would like to disallow from our robots txt. The thing is that these help pages are located in our old website, which now has a 301 redirect to current site. Which is the proper way to go around? 1- Add the pages we want to disallow to the robots.txt of the new website? 2- Break the redirect momentarily and add the pages to the robots.txt of the old one? Thanks
Technical SEO | | Kilgray0 -
301 Redirect non existant pages
Hi I have 100's of URL's appearing in Search Console for example: ?p=1_1 These go to on to 5_200 etc.. I have tried to do htaccess and the mod rewrite is on as I can redirect directories to the root i.e RewriteRule ^web_example(.*)$ /$1 [R=301,N,L] However I have tried all kinds of variations to redirect ?p= and either it doesn't work at all or it crashes the website. Can anyone point me in the right direction to fix this.
Technical SEO | | Cocoonfxmedia0 -
Max Number of 301 Redirections?
Hi, We currently made a re-design of a website and we changed all our urls to make them shorter. I made more than 300 permanent redirections but plenty more are needed since WMT is showing some more 404s from old urls that I hadn't seen because they were dynamic. The question is, please, is there a limit? I think we have more than 600 already. We don't want to create a php commando to redirect all the old ones to our home, we are redirecting them to their correspondent url. By the way, Im doing them with the 301 method in .htaccess. Thanks in advance.
Technical SEO | | Tintanus0 -
How to redirect 302 status to 301 status code using wordpress
I just ran the link opportunity option within site explorer and it shows that 31 pages are currently in a 302 status. Should I try to convert the 302's to 301's? And what is the easiest way to do this? I see several wordpress plugins that claim to do 301 redirects but I don't know which to choose. Any help would be greatly appreciated!
Technical SEO | | vmsolu0 -
How big is the problem: 404-errors as result of out of stock products?
We had a discussion about the importance of 404-errors as result of products which are out of stock. Of course this is not good, but what is the leverance in terms of importance: low-medium-high?
Technical SEO | | Digital-DMG0 -
Are 404 Errors a bad thing?
Good Morning... I am trying to clean up my e-commerce site and i created a lot of new categories for my parts... I've made the old category pages (which have had their content removed) "hidden" to anyone who visits the site and starts browsing. The only way you could get to those "hidden" pages is either by knowing the URLS that I used to use or if for some reason one of them is spidering in Google. Since I'm trying to clean up the site and get rid of any duplicate content issues, would i be better served by adding those "hidden" pages that don't have much or any content to the Robots.txt file or should i just De-activate them so now even if you type the old URL you will get a 404 page... In this case, are 404 pages bad? You're typically not going to find those pages in the SERPS so the only way you'd land on these 404 pages is to know the old url i was using that has been disabled. Please let me know if you guys think i should be 404'ing them or adding them to Robots.txt Thanks
Technical SEO | | Prime850