Is there a limit to Internal Redirect?
-
I know Google says there is no limit to it but I have seen on many websites that too many 301 redirects can be a problem and might negatively affect your rankings in SERPs.
I wanted to know especially from people who worked on large ecommerce site. How do they manage internal redirect from one URL to other and how many according to you are too many. I mean if you get a website that contain 300 plus 301 redirections within the website, how will you deal with that?
Please let me know if the question is not clear.
-
Right. Chain redirects = bad.
However, in the same video of Matt Cutts, he does say that the overall amount doesn't matter, and that's what I was talking about in first part of my previous answer.
Now, let's crunch some numbers to show you that the number of no-chain redirects doesn't matter.
-
Assume that we are in perfect world, so all given manufacturer given numbers actually right and all operations per second are actually operations per second
-
Lets say that standard hosting server is 2GHz power = 2*10^9 computations per second
-
Since all htaccess work/computations are strictly on a server side (bots/browsers just send request to server for response if page should be redirected), the only time which can slow down the request is server response time.
-
Match computations are always considered low computation power processes.
-
so, let's say you have htacces with 1 000 000 redirect rules, server keeps it in memory to do match computations when bots make requests, it means that 2GHz server has to have 2000 requests per second to just START struggling.
So, do you have 2000 requests per second to your website and 1 million redirect rules?
P.S. All number above are very rough approximations
P.P.S. If you really wanna see if your server is/ would struggle - login into web host manager, go to server status and info, look and see how much of your server power is usually being used. Usually that number is lower than 6-7% at 90% of the time.
Hope this clarify some things
-
-
I am going to say what I do and how I think that it works. I am not saying that this is correct or best practice.
When I abandon a URL I do not place the redirect in the .htaccess file in the root directory. Instead, I place an .htaccess file in the folder where the URL was saved. That limits the size of my .htaccess file in the root directory. I believe that reduces the amount of work that your server must do, it does not need to examine a very large .htaccess file.
If you use many folders to categorize your content then you will have small .htaccess files that are easier to manage. From time to time you will be able to redirect entire folders instead of individual files when you abandon a product line or a category of content.
That's what I do.
-
I think you get me wrong, you are talking probably talking about chain redirects as in from a to b and than b to c and may be d. For this Matt himself said in one of his Webmaster videos that Google might not crawl the link after 2 or may be 3 stages.
I am more concern about redirects in total because redirect increase the page load time and page load time is a factor in Google rankings which make me think again before go ahead and set 1000+ redirection (for example)!
But thanks for your reply!
-
I've not seen any instances of a limit to how many redirects you can have pointing to your website. I have some clients who have thousands of redirects in place (lots of old pages being moved to a new version of that product). Those sites haven't had any issues with rankings at all. In fact, many of the links pointing to the sites still reference the URLs that are redirected and those pages that are redirected to are ranking perfectly fine.
The biggest limit I've seen is on chaining. I've seen issues where chained redirects simply aren't followed. However, if you can keep it to a 1 step redirect, or 2, then things should be okay. It doesn't sound like that is what you are asking about though. More from Matt Cutts on this:
http://www.searchenginejournal.com/matt-cutts-discusses-301-permanent-redirects-limits-on-websites/46611/In terms of managing those redirects, you can't usually keep this many on an htaccess file without going a little bit nuts (or risking some future dev deleting those in an effort to clean up the htaccess file - ug). If you are using WordPress, the 301 redirects plugin works quite well: https://wordpress.org/plugins/301-redirects/
Unfortunately, I've also run into sites that aren't in a CMS where you can use a plugin. In those cases, I usually put these redirects in a database table. On the 404 file, I then have the code check the would-be error URL to see if we need to redirect that URL somewhere else. If a redirect is place, it redirects instead of throwing the 404 error. If no redirect is in place, the code then throws a 404 error.
Hope that helps.
-
Hello, my friend.
Well, whenever people says "don't have too many redirects", it doesn't mean not to have too many redirects in total count, for example, if you have old page
a.php redirected to b.php,
and old page c.php redirected to d.php
and so on - there is no any problem. However, what they mean is not to have consecutive redirects - eg.:a.php redirects to b.php, which redirects to c.php, which redirects to d.php, instead of a.php redirecting to d.php straight forward.
Hope this helps.
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
-
Trash Domain Or Redirect it (unmaintained)
We have an old website with an old domain that has not been maintained for a few years; it now has a DA of 14 and a spam score of 24%. Our current domain (same business) within a few years has a domain authority of 21 and page authority 29 spam score 1%. (Yes, this domain should have been redirected from the get-go) The question is what do you do with it now? Toss it. Or redirect it. That domain has existed for years but still not sure what its value is from an SEO perspective. I would love to hear your feedback. Is there any benefit to redirect the old domain to the current domain. Or is it a negative and what impact?
Technical SEO | | MyBambooSEO0 -
Backlinks that go to a redirected URL
Hey guys, just wondering, my client has 3 websites, 2 of 3 will be closed down and the domains will be permanently redirected to the 1 primary domain - however they have some high quality backlinks pointing the domains that will be redirected. How does this effective SEO? Domain One (primary - getting redesign and rebuilt) - not many backlinks
Technical SEO | | thinkLukeSEO
Domain Two (will redirect to Domain One) - has quality backlinks
Domain Three (will redirect to Domain One) - has quality backlinks When the new website is launched on Domain One I will contact the backlink providers and request they update their URL - i assume that would be the best.0 -
How to avoid a redirect chain?
Hi there, I am aware that it is not good practice to have a redirect chain but I am not really sure hoe to do it (on Apache). I have multiple redirects in a chain because on the one hand I had to redirect because the content of the site got a new URL and because on the other hand I changed from http to https. Thus I have a chain like http://example.com via 301 to http://the-best-example.com via 301 to https://the-best-example.com via 301 to https://greatest-example.com Obviously I want to clean this up without loosing any link juice or visitors who had bookmarked my site. So, I could make three separate redirects: http://example.com via 301 to https://greatest-example.com
Technical SEO | | netzkern_AG
http://the-best-example.com via 301 to https://greatest-example.com
https://the-best-example.com via 301 to https://greatest-example.com But is there a way to combine it? Can I use an "OR" operator to link the 3 conditions to this one rule? Any other suggestions? Thanks a lot!!!0 -
Website redirects
We consolidated websites. All the international sites have been brought under the roof of our mothership site based in the US: www.crisisprevention.com ... We mapped out all of the URLs and where they should be redirected. However, if someone types in, say, www.crisisprevention.co.uk it redirects to the mothership site, BUT the old URL hangs around no matter what page you navigate to. I feel like it has duplicate content ramifications or worse. I would like opinions on this, so I can take my findings to IT and figure out a solution. Here’s another example: http://www.positive-options.co.uk and another http://www.positive-options.com
Technical SEO | | spackle0 -
301 Redirect Help
How would you 301 redirect and entire folder to a specific file within the same domain? Scenario www.domain.com/folder to www.domain.com/file.html Thanks for your Input...
Technical SEO | | dhidalgo11 -
Geo-Redirection
Our client has two almost identical sites targeting: Australia (www.mysite.com.au) Rest of World (www.mysite.com) Currently they have splash page on www.mysite.com asking users to select: Australia Rest of World (redirects to: www.mysite.com/home) I'm thinking they should get rid of slash page and simply auto detect if user on www.mysite.com is based in Australia and serve a message "Do you want to visit our .com.au site. It's not helped by the fact the .com site appears to get served ahead of .com.au iin australia as both sites are hosted in US. Looking to change this! Thanks in advance for your help!
Technical SEO | | steermoz70 -
Redirecting a domain
I was setting up a new campaign and received the following error from Roger Robot. "We have detected that the domain www.sitename.com and the domain sitename.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." I know about redirecting a PAGE using 301 Redirects and how to specify the www. canonical in Google webmaster tools, but is there a "DOMAIN" redirect that I'm missing. What would you suggest doing given the error message above. Thanks, Bill Sqnch.jpg
Technical SEO | | Marvo0 -
Does Google care how you write internal links?
I am changing ecommerce platforms. For my internal linking on the old site there was a lot of old links written like this: http://www.domain.com/page-name But now i am writing links mostly like this: /page-name Will that make a difference to search engines? Is one easier than the other for them to interpret?
Technical SEO | | Hyrule0