Mobile app version of vmapp.org
Login or Join
Becky754

: If I have too many 301 redirections on magento, will it slow down the server? I'm using magneto and I currently have 70,000 URLs are being redirected as 301 (From Catalog >> URL Redirects).

@Becky754

Posted in: #Magento #PageSpeed #Performance #Server #Webserver

I'm using magneto and I currently have 70,000 URLs are being redirected as 301 (From Catalog >> URL Redirects).

I need to add another 4000 URLs, because every time we run out-of-stock I redirect the product page to the parent category.

With this huge number of URL redirection, can this cause the server to slow down? If yes, what are the alternatives?

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Becky754

1 Comments

Sorted by latest first Latest Oldest Best

 

@Eichhorn148

Redirects are inexpensive in terms of server resources. They usually require at most a single database query and a few bytes of response. Compare to a a full page render which may require 10s of database queries, transfer significant content, and then need additional server resources for images, CSS, and JavaScript files. You could usually serve hundreds of redirect requests for the same cost as a full page view.

Redirects are also only needed when they are hit. Just because your server knows to respond to a specific URL with a redirect, it doesn't mean that it will get any such requests. When you implement redirects you should update your site to not have the links or to point the links directly to the new location. You will get some requests for old URLs from external links and from search engine spiders checking on old URLs, but the majority of users will never use the redirect functionality.

If you find that some redirects are expensive and often used, that performance problem is easy to solve with caching.

There is no reason to be afraid of implementing lots of redirects for performance reasons.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme