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 Redirects in subfolders
Hi, we're making our site into a static site but I would like to transfer the Google juice. Most of the links and database exist on subfolders though. Could I simply do 301 redirects on the subfolders and retain the value or does it have to be on the full domain?
Technical SEO | | Therealmattyd0 -
Questions about the Sandbox and 301 Redirects
Does the sandbox still exist? What if you have a brand new URL and do a 301 redirect from another website because the name of the service business changed? Thanks for any insight and help.
Technical SEO | | SDSLaw0 -
301 Redirect with index.asp
I am very new to all of this so forgive the newbie questions I will get better. Ok so after starting a campaign I see that I have many issues including where some pages are being deemed as duplicate content. 1. The report says the http://lucid8.com has duplicate content on 2 other pages 2. When I look at them it shows that http://lucid8.com/index.asp and http://www.lucid8.com are duplicates. 3. Really these are the exactly the same page because the default page that is opened for www.lucid8.com http://www.lucid8.com etc always opens the index.asp page. 4. Now I read that I should do permanent redirects and how to do this via IIS and I tried to do a redirect from index.asp to www.lucid8.com but that does not work because www.lucid8.com is pointing to index.asp and so we end up in a circle. So the question is how do I get rid of these duplicate page references without causing problems. Thanks
Technical SEO | | TroyW0 -
Simple 301 redirect a subfolder to another subfolder
Hi, I have a number of sub-folders that I have to move, each of which contains a number of files. subfolder A has files a, b & c subfolder B has files d, e & f
Technical SEO | | aactive
subfolder C has files g, h & i A, B & C folders need to be X, Y & Z Will the following work? RewriteRule ^subfolder-A/* http://www.domain.com/subfolder-X/ [R=301,L]
RewriteRule ^subfolder-B/* http://www.domain.com/subfolder-Y/ [R=301,L]
RewriteRule ^subfolder-C/* http://www.domain.com/subfolder-Z/ [R=301,L] will this result in visitors to http://www.domain.com/subfolder-B/f.html being redirected to http://www.domain.com/subfolder-Y/f.html? All on the same domain. in reality we are talking hundreds of sub folders and thousands of files so we don't want to have to reference every file individually in the htaccess. Thanks0 -
301 redirects & merging two sites into one
We have a client that has two sites that rank well for different searches in their market. The main pages ranking are things like advice articles and news pieces. For various reasons, they just want one site. I believe they need to duplicate the content from the outgoing site and place it on the main site, with a 301 redirect from each old page to each new one. What happens when they eventually want to redirect the entire domain? Would these smaller, internal redirects become obsolete, therefore removing any link value they once had? I am not sure how this works or if there is a best practice way to do this. Thanks Gareth
Technical SEO | | Gmorgan0 -
301 Redirect & Cloaking
HEllo~~~~ People. I have a question regarding on cloaking. I will be really greatful if you can help me with question. I have a site www.example.com and it is targeting for multi countries. So I use sub directories for targeting multi countries. e.g. www.example.com/us/ www.example.com/de/ www.example.com/hk/ ....... so on and on. Therefore, when people type www.example.com, I use IP delivery to send users to each coutries. Here is my question. I use 301 redirect for IP delivery, which means when user enter www.example.com, my site read user's IP and send them to right country site by 301 redirect. In this case, is there any possibility that Google considers it as cloaking? Please people.... share me some ideas and thoughs.
Technical SEO | | Artience0 -
Should there be a canonical tag on my 404 error page?
In my crawl diagnostics, I notice some 4xx client errors. They are appearing for pages that no longer exist, so I'm not sure what the problem is. Shouldn't they just be dealt as 404's? Anyway, on closer inspection I noticed that my 404 error page contains a canonical tag which points to the missing page. Could this be the issue? Is it a good idea to remove the canonical tag from this error page? Thanks.
Technical SEO | | Leighm0