301 redirect all 404 pages
-
Hi I would like to have a second opinion on this. I am working on an ecommerce website that they 301 redirect all 404 pages (including the URLs entered incorrectly) to the “All categories page”. Will this have any negative SEO impact?
-
Yes - indeed. The 301 need to be relevant. You can not redirect www.domain.com/red-pantss to www.domain.com/blue-sweaters
/red-pantss --> /pants or even better /red-pants
-
If people are only occasionally typing in "/troussers" instead of "/trousers" then let it 404. Its there to let people know "I'm sorry, this isn't here. Perhaps you misspelled something." You could always 301 it if you really felt like it because it wouldn't hurt anything in the long run.
Now, if you found that you're sending 500 people a day to a 404 page for "/troussers" when they're looking for "/trousers" and you find there are relevant inlinks pointing at the wrong page then by all means go and 301 those people to the correct page. They'll be better served by it. But if you're redirecting all of those people to "All Categories" then you aren't being thoughtful of the customer's needs.
Indiscriminately 301ing everyone to "All Categories" without considering what their intentions are is not helping that customer and will likely wind up with an ever increasing bounce rate on "All Categories".
-
"My main concern here is 301 redirecting mistyped/ incorrectly entered URL s to the “All categories” page rather than returning a custom 404 page. Will this be problematic for SEO???"
Yes that is bad for SEO do not do that - non existent pages need to 404 and not 301. Even some pages that used to exist might make sense to 404 if they have no links pointing to them and no relevant new category section to 301 them to.
-
So you mean a customer types in /troussers and you would like to redirect that request to /trousers ?
That will no be a problem to SEO, hence google does not know the /troussers-page.
You can not get in SEO-trouble for redirecting pages that are not indexed.
I would say that if you get a lot of 404's because the customer mistyped your url - and it is not traffic from an other page/domain where there is a mistyped link - there is no problem!
-
Thanks for all your responses :). My main concern here is 301 redirecting mistyped/ incorrectly entered URL s to the “All categories” page rather than returning a custom 404 page. Will this be problematic for SEO???
-
Customer: Can i buy a pair of red trousers?
404: Sorry. We dont have any.
301: Sorry. We dont have any red trousers. But maybe these blue trousers would look great on you?
What you are doing is interrupting your customer. Consider that the way the customer enters your store, has a purpose. If the customer used the link www.store.com/trousers - they expect trousers on the page:
Customer: Can i ...
301: Welcome customer. Take a look around and see if you can find what you're looking for.
- you should definitely be more specific. 301 requests to pages regarding trousers to your trousers-category, and 301 redirects request to pages regarding boots to your boots category.
-
It shouldn't but I'd consider a more specific approach.
Would it be possible to redirect URLs to more specific (and appropriate) landing pages? It might limit any interruption to the user journey.
Also, how many URLs are we talking about here? If we're talking hundreds of thousands (seen it happen with some CMS), redirecting them all via .htaccess might slow down the speed of your site, slightly. Google does take site speed into account for SEO, so be wary of this - although this will only be a problem if you're redirecting an absolute truckload of URLs.
Other than that, it's generally good practice to 301 404s, so I'd go ahead with it.
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
-
404 Pages increasing day by day. Why??
Please look at my website, 404 Pages suddenly increasing in number. I have looked at the google webmaster tool and found it showing all my URLs in wrong format. This page is also not working I attached webmaster screenshot as well
Technical SEO | | Michael.Leonard0 -
Panda Cleanup - Removing Old Blog Posts, Let Them 404 or 301 to Main Blog Page?
tl;dr... Removing old blog posts that may be affected by Panda, should we let them 404 or 301 to the Blog? We have been managing a corporate blog since 2011. The content is OK but we've recently hired a new blogger who is doing an outstanding job, creating content that is very useful to site visitors and is just on a higher level than what we've had previously. The old posts mostly have no comments and don't get much user engagement. I know Google recommends creating great new content rather than removing old content due to Panda concerns but I'm confident we're doing the former and I still want to purge the old stuff that's not doing anyone any good. So let's just pretend we're being dinged by Panda for having a large amount of content that doesn't get much user engagement (not sure if that's actually the case, rankings remain good though we have been passed on a couple key rankings recently). I've gone through Analytics and noted any blog posts that have generated at least 1 lead or had at least 20 unique visits all time. I think that's a pretty low barrier and everything else really can be safely removed. So for the remaining posts (I'm guessing there are hundreds of them but haven't compiled the specific list yet), should we just let them 404 or do we 301 redirect them to the main blog page? The underlying question is, if our primary purpose is cleaning things up for Panda specifically, does placing a 301 make sense or would Google see those "low quality" pages being redirected to a new place and pass on some of that "low quality" signal to the new page? Is it better for that content just to go away completely (404)?
Technical SEO | | eBoost-Consulting0 -
301 Redirects
Hello, All. Hopefully this will be an easy question for some of you. I have a (WordPress) site with the format of: http://www.site.com/folder-old/page-old/ I have since re-named both the parent and sub-folders to (example): http://www.site.com/folder-new/page-new/ Everything is working well EXCEPT I am also trying to redirect visitors from the old URL/structure to the new. I have a 301 redirect setup as the following: Redirect 301 /folder-old/page-old/ http://www.site.com/folder-new/page-new/ -- But it doesn't seem to be working. Not sure if this is something finicky with WordPress or if the redirect is incorrect. Thank you.
Technical SEO | | BrandBuilder0 -
HTacess 301 redirect with special characters
Hello moz community ! I would to make a special 301 redirection through my htaccess file. I am a total noob concerning regexp and 301 redirection. I would like to redirect(301) this url : http://www.legipermis.com/stages-points/">http://www.legipermis.com/stages-points/</a></p>; yes yes it's in the index of google, this strange url includes the last ; to http://www.legipermis.com/stages-points/ I have already include a canonical tag by security, i would like to remove url with a 301 redirection and by remove this url through GWT (but the removal tool can't "eat' this kind of URL) Please consider the fact that i am not an expert about 301 redirections and regexps. No 301 redirect generator works properly for such a strange URL (which triggers content duplication corrected anyway with canonical tag). Thanks for your help.
Technical SEO | | LegiPermis0 -
Migration to New Domain - 301 Redirect Questions
My client is migrating their site to a new domain. I just did a big redesign, including URL structure change, and 301s from old URLs to new URLs. Now they want a new name, so we're moving forward with a new domain name. However, we're going to keep the site on the current domain while we ease customers into the new name. During that time, I'm going to be building links to the new domain name and 301 Redirecting that new one to the current domain name. Then, once we migrate the site to the new domain name, I'm then going to redirect the current domain name to the new domain name. So, my question(s) is/are: Is the above process the best way to use 301 redirects to to build links to the new domain while we transition everything? Should I (or can I) do 3 redirects from the oldest URLs, to the current URLs then to the new URLs? General question... I can't seem to find this anywhere online, but what is the best practice for what order URLs should be in in the htaccess file? Thanks!
Technical SEO | | Kenny-King0 -
How do I 301 redirect a number of pages to one page
I want to redirect all pages in /folder_A /folder_B to /folder_A/index.php. Can I just write one or two lines of code to .htaccess to do that?
Technical SEO | | Heydarian0 -
When Is It Good To Redirect Pages on Your Site to Another Page?
Suppose you have a page on your site that discusses a topic that is similar to another page but targets a different keyword phrase. The page has medium quality content, no inbound links, and the attracts little traffic. Should you 301 redirect the page to a stronger page?
Technical SEO | | ProjectLabs1 -
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