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 for multiple links
I just relaunched my website and changed a permalink structure for several pages where only a subdirectory name changed. What 301 Redirect code do I use to redirect the following? I have dozens of these where I need to change just the directory name from "urban-living" to "urban", and want it to catch the following all in one redirect command. Here is an example of the structure that needs to change. Old
Technical SEO | | shawnbeaird
domain.com/urban-living (single page w/ content)
domain.com/urban-living/tempe (single page w/ content)
domain.com/urban-living/tempe/the-vale (single page w/ content) New
domain.com/urban
domain.com/urban/tempe
domain.com/urban/tempe/the-vale0 -
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 -
Best Practice on 301 Redirect - Images
We have two sites that sell the same products. We have decided to retire one of the sites as we'd like to focus on one property. I know best practice is to redirect apples to apples, which in our case is easily done since the sites sold the same thing. www.SiteABC.com/ProductA can be redirected to www.SiteXYZ.com/ProductA. My question is how far does that thinking go regarding images? Each product has a main product page, of course, and then up to 6 images in some cases. Is it necessary to redirect www.SiteABC.com/ProductA-Image1.jpg to www.SiteXYZ.com/ProductA-Image1.jpg? Or can they all be redirected to just the product page?
Technical SEO | | Natitude0 -
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 -
Can I remove 301 redirects after some time?
Hello, We have an very large number of 301 redirects on our site and would like to find a way to remove some of them. Is there a time frame after which Google does not need a 301 any more? For example if A is 301 redirected to B, does Google know after a while not to serve A any more, and replaces any requests for A with B? How about any links that go to A? Or: Is the only option to have all links that pointed to A point to B and then the 301 can be removed after some time? Thank you for you you help!
Technical SEO | | Veva0 -
Will bad things happen if I cancel 301 site redirect?
Hi, please someone help! We have two identical websites, say A & B. Because of the not so good SEO establishment, site B was built and site A was 301 redirected to site B weeks ago. For some reasons, we have to reuse site A, which means we have to cancel the 301 redirection. (Sound a little crazy) So the question are: 1. Can we conduct the action? 2. If we cant, what's the reason? 3. If we can, what would be the best practice? Thanks for help in advance! Plus: we also CARE what would happen to site B if the 301 is cancelled? Will it grow healthy like a new site?
Technical SEO | | Squall3150 -
Is it worth setting up 301 redirects from old products to new products?
This year we are using a new supplier and they have provided us a product database of approx. 5k products. About 80% of these products were in our existing database but once we have installed the new database all the URLs will have changed. There is no quick way to match the old products with the new products so we would have to manually match all 5k products if we were were to setup 301 rules for the old products pointing to the new products. Of course this would take a lot of time. So the options are: 1. Is it worth putting in this effort to make the 301 rules? 2. Or are we okay just to delete the old product pages, let the SE see the 404 and just wait for it to index the new pages? 3. Or, as a compromise, should we 301 the old product page to the new category page as this is a lot quicker for us do do than redirecting to the new product page?
Technical SEO | | indigoclothing0 -
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