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
-
Soft 404's on a 301 Redirect...Why?
So we launched a site about a month ago. Our old site had an extensive library of health content that went away with the relaunch. We redirected this entire section of the site to the new education materials, but we've yet to see this reflected in the index or in GWT. In fact, we're getting close to 500 soft 404's in GWT. Our development team confirmed for me that the 301 redirect is configured correctly. Is it just a waiting game at this point or is there something I might be missing? Any help is appreciated. Thanks!
Technical SEO | | MJTrevens0 -
Best strategy to handle over 100,000 404 errors.
I recently been given a site that has over one-hundred thousand 404 error codes listed in Google Webmasters. It is really odd because according to Google Webmasters, the pages that are linking to these 404 pages are also pages that no longer exist (they are 404 pages themselves). These errors were a result of site migration that had occurred. Appreciate any input on how one might go about auditing and repairing large amounts of 404 errors. Thank you.
Technical SEO | | SEO_Promenade0 -
301 Redirect on a PDF, DOCX files?
Hi, I have to rename many pdf and docx files. How can I implement 301 redirect on them as they are linked from 'n' number of places? Regards, Shailendra Sial
Technical SEO | | IM_Learner1 -
Index.php and 301 redirect with Joomla
Hi, I'm running Joomla 1.7 with SEF on and I'm trying to do a htaccess redirect which fails. I have approximately 100 in effect so far and all working fine, but I have one snag. Index.php is not working as I need it to when it's redirected to www.myurl.com/ If I turn on index.php redirect to root using this code #index.php to root
Technical SEO | | NaescentAdam
RewriteCond %{HTTP_HOST} ^myurl.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.myurl.com$
RewriteRule ^index.php$ "http://www.myurl.com/" [R=301,L] And then go to www.myurl.com/test.html I'm redirected to the homepage. I think this is because all pages are index.php in joomla. SEOMOZ and Google both think that index.php and root are duplicate pages. Does anyone have any advice for overcoming this? Thanks, Adam0 -
What should be use 301 or 302 redirection for 404 pages
Please suggest which redirection we should use for 404 pages- 301 or 302. If you can elaborate it with reason then it will be highly appreciated.
Technical SEO | | koamit0 -
Why is a 301 redirected url still getting indexed?
We recently fixed a redirect issue in a website, and although it appears that the redirection is working fine, the url in question keeps on getting crawled, indexed and cached by google. The redirect was done a month ago, and google shows cached version of it, even for a couple of days ago. Manual checking shows that its being redirected, and also a couple of online tools i checked report a 301 redirect. Do you have any idea why this could be happening? The website I'm talking about is www.hotelmajestic.gr and its being redirected to www.hotel-majestic.gr
Technical SEO | | dim_d0 -
301 Redirect vs Domain Alias
We have hundreds of domains which are either alternate spelling of our primary domain or close keyword names we didn't want our competitor to get before us. The primary domain is running on a dedicated Windows server running IIS6 and set to a static IP. Since it is a static IP and not using host headers any domain pointed to the static IP will immediately show the contents of the site, however the domain will be whatever was typed. Which could be the primary domain or an alias. Two concerns. First, is it possible that Google would penalize us for the alias domains or dilute our primary domain "juice"? Second, we need to properly track traffic from the alias domains. We could make unique content for those performing well and sell or let expire those that are sending no traffic. It's not my goal to use the alias domains to artificially pump up our primary domain. We have them for spelling errors and direct traffic. What is the best practice for handling one or both of these issues?
Technical SEO | | briankb0