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
-
Bloking pages in roborts.txt that are under a redirected subdomain
Hi Everyone, I have a lot of Marketo landing pages that I don't want to show in SERP. Adding the noindex meta tag for each page will be too much, I have thousands of pages. Blocking it in roborts.txt could have been an option, BUT, the subdomain homepage is redirected to my main domain (with a 302) so I may confuse search engines ( should they follow the redirect or should they block) marketo.mydomain.com is redirected to www.mydomain.com disallow: / (I think this will be confusing with the redirect) I don't have folders, all pages are under the subdomain, so I can't block folders in Robots.txt also Would anyone had this scenario or any suggestions? I appreciate your thoughts here. Thank you Rachel
Technical SEO | | RaquelSaiz0 -
Does 301 redirect of old filenames still work?
I have gone through several revisions of my site. We used to have only static pages in HTML. I had search-engine-optimization.html changed to seo-philippines.html changed to /seo-philippines/ I 301 redirected all of them whenever I change the filenames. This is in the course of 6 years worth of link building and I'm wondering if this has an effect because our rankings go down everytime we do this.
Technical SEO | | optimind0 -
How do find where a 301 redirect is located
My report says I have http://www.30minuteseder.com/Passover.blog redirected to http://30minuteseder.com/Passover.blog. It is correct, but I can't find where the 301 redirect is located. I looked in my .htaccess file in the root and it's not there. How do I find it so I can change it?
Technical SEO | | Sederman0 -
301 redirects tanked our site on google - what now?
We had several hundred old pages on the site with duplicate content and new pages with fresh info on the same topics. So I redirected the old pages to the new pages. Next day, plop, we're dumped off google for almost every keyword. Dang I thought they didn't want duplicate content and old funky pages. What did I do wrong and what can I do to fix it? Thanks so much for anyone who can share their expertise. Jean
Technical SEO | | JeanYates0 -
Proper way to 404 a page on an Ecommerce Website
Hello. I am working on a website that has over 15000 products. When one of these is no longer available - like it's discontinued or something - the page it's on 302s to a 404 page. Example - www.greatdomain.com/awesome-widget Awesome widget is no longer available www. greatdomain.com/awesome-widget 302s to -www.greatdomain.com/404 page. For the most part, these are not worthy of 301s because of lack of page rank/suitable LPs, but is this the correct way to handle them for search engines? I've seen varying opinions. Thanks!
Technical SEO | | Blenny0 -
301 redirecting some pages directly, and the rest to a single page
I've read through the Redirect guide here already but can't get this down in my .htaccess I want to redirect some pages specifically (/contactinfo.html to the new /contact.php) And I want all other pages (not all have equivalent pages on the new site) to redirect to my new (index.php) homepage. How can I set it up so that some specific pages redirect directly, and all others go to one page? I already have the specific oldpage.html -> newpage.php redirects in place, just need to figure out the broad one for everything else.
Technical SEO | | RyanWhitney150 -
301 redirect while keeping OLD domain for branding
Say you have CharityName.com. They use a dedicated domain name CharityNameEvent.com to advertise their main event. They use this domain on posters, flyers,etc and want to keep using it because it's easier to remember. CharityNameEvent.com has far, far more inbound links than CharityName.com (about 8 times more). Current problem: their current web developer has put the SAME content on both websites instead of setting up a redirect from CharityNameEvent.com (easy to remember) to CharityName.com/Event which would have made more sense. My intention is to consolidate the 2 websites and make sure CharityName.com benefits from links to the Event. I plan to move and 301 redirect CharityNameEvent.com to CharityName.com/Event. I know this would keep links and PR intact but I have a couple of questions: 1. Is it enough to set up the 301 redirect or would they have to ask websites to ACTUALLY change the links to CharityName.com/Event? 2. They plan and need to keep using CharityNameEvent.com for its ease of use on posters, flyers, etc. The 301 redirect would be in place. Would this cause any problems with search engines, especially when/if some people STILL link to CharityNameEvent.com instead of CharityName.com/Event? Basically, my understanding of 301 redirects is that they're used when a website permanently moves. In this case, the OLD DOMAIN name would still be used for reasons mentioned above but would be 301 redirected to CharityName.com/Event. Any chance this might not maximise the potential of new/old links? Any other way to go about it? Anything I'm missing with this scenario? Thanks
Technical SEO | | carmenmardiros0 -
I think I'm stuck in a 301 redirect loop
Hi all, I'm trying to correct some of my duplicate content errors. The site is built on Miva Merchant and the storefront page, /SFNT.html, needs to be permanently redirected to www.mydomain.com This is what my .htaccess file looks like: #RedirectPermanent /index.html http://dev.mydomain.com/mm5/merchant.mvc? RewriteEngine On RewriteCond %{HTTP_HOST} !^dev.mydomain.com$ [NC] RewriteRule ^(.*) http://dev.emydomain.com/$1 [L,R=301] DirectoryIndex index.html index.htm index.php /mm5/merchant.mvc redirect 301 /SFNT.html http://dev.mydomain.com/ RewriteCond %{QUERY_STRING} Screen=SFNT&Store_Code=MYSTORECODE [NC] When I use this code and navigate to http://dev.mydomain.com/SFNT.html the URL gets rewritten as http://dev.mydomain.com/?Screen=SFNT So I believe this is what's called a "redirect loop".... Can anyone provide any insight? I'm not a developer, but have been tasked with cleaning up the problems on the website and can use any input anyone is willing to offer. Thanks, jr
Technical SEO | | Technical_Contact0