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
-
Reusing an already 301 redirected URL for a very important keyword
I have a question about reusing an already 301 redirected URL Till now I never reused an URLs that has been already redirected with a 301 redirect. However, I just started working on a website where in past they created a lot of 301 redirects without thinking about the future, and now certain URLs, that are currently redirected with a 301, would be very useful (exact match) and needed (for some of the most important keywords for this specific business), to maintain an optimal, homogeneous and "beautiful" URL structure. Has any of you ever reused a URL that was previously redirected with a 301 redirect? If yes what are your experiences with it? Can content on the reused URL (that was previously 301 redirected and than the redirect removed) normally rank if the page is reestablished and the redirect is removed (and you do great content, on page, internal linking, backlinking, .... ) or is such an URL risky / not recommended / "burned" forever and not recommended to be reused again... especially for very important keywords since it present the exact match ?! Thank you very much for all your help! Regards
Technical SEO | | moz46y0 -
301 redirects delay in picking up
Hi I have been involved in the redesign/development of a website which has up until now had a lot of international traffic. On day of migration I uploaded all the 301 redirects to the website (wordpress) using Simple 301 redirect plugin. I tested a number of them and they appeared to be working. I also submitted the new sitemaps to Search Console. Since migration international traffic - particularly from countries such as india, Phillipines, Sri Lanka etc have significantly dropped off whereas the local traffic and some of the international traffic such as USA has remained fairly consistent. Looking at Analytics and entrances recently it appears as though search results are/were showing a number of pages with 404's (one in particular which received significant traffic and for which I had created a 301 redirection) - I have checked this page using the old url and it re-directs correctly for me and today asked a colleague in India to also check - he is getting the redirection fine. Does Google.in take a significantly longer time to pick these up in search results? Or am I missing something?
Technical SEO | | musthavemarketing0 -
Hundreds of 404 errors are showing up for pages that never existed
For our site, Google is suddenly reporting hundreds of 404 errors, but the pages they are reporting never existed. The links Google shows are clearly spam style, but the website hasn't been hacked. This happened a few weeks ago, and after a couple days they disappeared from WMT. What's the deal? Screen-Shot-2016-02-29-at-9.35.18-AM.png
Technical SEO | | MichaelGregory0 -
Redirect URLS with 301 twice
Hello, I had asked my client to ask her web developer to move to a more simplified URL structure. There was a folder called "home" after the root which served no purpose. I asked for the URLs to be redirected using 301 to the new URLs which did not have this structure. However, the web developer didn't agree and decided to just rename the "home" folder "p". I don't know why he did this. We argued the case and he then created the URL structure we wanted. Initially he had 301 redirected the old URLS (the one with "Home") to his new version (the one with the "p"). When we asked for the more simplified URL after arguing, he just redirected all the "p" URLS to the PAGE NOT FOUND. However, remember, all the original URLs are now being redirected to the PAGE NOT FOUND as a result. The problems I see are these unless he redirects again: The new simplified URLS have to start from scratch to rank 2)We have duplicated content - two URLs with the same content Customers clicking products in the SERPs will currently find that they are being redirect to the 404 page. I understand that redirection has to occur but my questions are these: Is it ok to redirect twice with 301 - so old URL to the "p" version then to final simplified version. Will link juice be lost doing this twice? If he redirects from the original URLS to the final version missing out the "p" version, what should happen to the "p" version - they are currently indexed. Any help would be appreciated. Thanks
Technical SEO | | AL123al0 -
Will deleting Wordpress tags result in 404 errors or anything?
I want to clean up my tags and I'm worried I'm going to look in my webmasters the next day with hundreds of errors. Whats the best way of doing this?
Technical SEO | | howlusa0 -
Is there a way of changing the Permalink without getting the 404 Error?
Hi, I am new to this all.. Is there a way of changing the permalink for example from: domain/content/ to domain/profile/ without receiving the 404 error message. It's just that since my website has been developed, some pages and their content have changed but the permalink still shows the name of the old page which may be confusing. Ps. Please use most simple language for explanations as I am really new to it. Thank you! Ve
Technical SEO | | MissVe0 -
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 -
Where does Wordpress store the 301 redirects?
Hi, I've just created a campaign for my new wordpress blog and found 11 301 redirects which I was not aware of. It looks like wordpress has created them automatically. Does any one know how wordpress handles this issues or where are they stored so I can delete them? They are of no use for me. 9 of these redirects point to the same url with an added '/' and are in pages 1 is on a post. I've been changing the permalink and some urls several times and maybe one of these times the Wordpress has automatically created the 301 redirect. But why? I do not want to keep the old url. the last redirect is very strange it goes from http://www.mydomain.com/folder to http://www.mydomain.com where folder is the folder where I installed wordpress. But again, I want no one to type the url with the folder name or even know this folder exists. Any comment on this would be greatly appreciated. Thanks a lot, David
Technical SEO | | dballari0