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
-
Rel=canonical and redirect on same page
Hi Guys, Am I going slightly mad but why would you want to have a redirect and a canonical redirecting back to the same page. For Instance https://handletrade.co.uk/pull-handles/pull-handles-zcs-range/d'-pull-handle-19mm-dia.-19-x-150mm-ss/?tag=Dia.&page=2 and in the source code:- <link href="<a class="attribute-value">https://handletrade.co.uk/d'-pull-handle-19mm-dia.-19-x-150mm-ss/</a>" rel="<a class="attribute-value">canonical</a>" /> Perfect! exactly what it is intended to do. But then this page is 301 redirected tohttps://handletrade.co.uk/pull-handles/pull-handles-zcs-range/d'-pull-handle-19mm-dia.-19-x-150mm-ss/ The site is built in open cart and I think it's the SEO plugin that needs tweaking. Could this cause poor SERP visibility? This is happening across the whole site. Surely the canonical should just point to the proper page and then there is no need for an additional bounce.
Technical SEO | | nezona1 -
To 301 redirect or not...
Hi guys i'd like to get your opinion on this. We currently have two sites, site A is the old one with PA44 and DA33. Site B is the new one which is going to replace site A it currently has PA37 and DA24 Our plan for the future is to shut down site A and redirect all pages using 301 to the relevant pages on side B. Currently we have some links in place for a couple of keywords on site A to site B which seems to be working great for our ranking. Now i'm wondering if this is maybe a good option, to give back links from A to B or will i pass through more link juice when redirecting everything? (ps. both are e commerce sites hosted and registred with different companies)
Technical SEO | | Immanuel0 -
301 redirect or maual edit of new urls
Hello forum! I will get right to the point,I have a 4 year old PR4 site with lots of links (vacation rentals marketplace, like Homeaway), In about a month from now new CMS will be ready and I will be doing redesign of the site. The problem that I have is (as many of you can guess) losing all the old links that rank high = losing traffic / revenue. Two posiblle solutions here: 1. 301 redirect for each page that ranks high - point it to new url 2. Manually editing new urls created by new CMS and making them to be the same as old ones. This means that some number of urls (the ones that rank high and generate traffic) would be exactly the same while other ones would be generated by CMS thus dufferent in many ways (unicode,different keywords etc.) What would You do here? I am more for 301 redirect but I read all kinds of horror stories in drop of SERP. Thank You for help and advices in advance.
Technical SEO | | Gregos0 -
301 redirect
Hi All, I have just completed a 301 redirect on my site http://www.klinehimalaya.com and I was just starting a new campaign on SEOmoz and I got this message: Roger has detected a problem:
Technical SEO | | gorillakid
We have detected that the domain www.klinehimalaya.com and the domain klinehimalaya.com both respond to web requests and do not redirect. Having two "twin" domains that both resolve forces them to battle for SERP positions, making your SEO efforts less effective. We suggest redirecting one, then entering the other here. My only other question, is my .htaccess codeing correct and how long will it take to show it is correct in SEOmoz and online? All ".htaccess" code: AddHandler php-stable .php
**_Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} !^www. [NC]
RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301] RewriteRule (.*).html$ /$1.php [R=301,L]_** Lastly, I have recently changed all of my files from .html to .php is this going to hurt my SEO and is the code "RewriteRule (.*).html$ /$1.php [R=301,L]" going to fix the issue by redirecting the .html links to the .php pages? Any suggestions or help appreciated. Paul.0 -
301 or a 404
Just had a discussion with a collegue about a page on our own website. We have some cases which are outdated. These pages receive some visitors but they arrive there when they search for the clients brand name, so for us they are irelevant. What's the best way to handle these kind of pages? Is a 301-redirect to the showcase overview the way to go or do we make it a 404 and include the showcase overview in this 404?
Technical SEO | | nvs.nim0 -
Looking for some help adding a 301 redirect for my Site
Hi there, I am trying to eliminate the 'www' using a 301 redirect script as I have duplicate page titles for both versions (with and without the 'www') I checked the page authority and found the pages without the 'www' to be ranked higher. For this reason I believe it would be wise to go for this option. I have an .htaccess file, all I need is the code and I should be ok 🙂 Thanks!
Technical SEO | | debeenus0 -
301 redirect .htaccess problem
Can anyone explain to me why this doesn't work? Redirect 301 /category/diamond-pendants/nstart/1/start/(.*) http://www.povada.com/category/pendants/nstart/1/start/$1 Im trying to replace everything after /start/ and insert it into the new url. Thanks in advance.
Technical SEO | | 13375auc30 -
On Page 301 redirect for html pages
For php pages youve got Header( "HTTP/1.1 301 Moved Permanently" );
Technical SEO | | shupester
Header( "Location: http://www.example.com" );
?> Is there anything for html pages? Other then Or is placing this code redirect 301 /old/old.htm http://www.you.com/new.php in the .htaccess the only way to properly 301 redirect html pages? Thanks!0