Join us at Jamstack Conf Virtual, October 6-7. Register now!

By Matt Biilmann in News & Announcements

Introducing Smarter Redirects

We just made Netlify’s redirect engine smarter.

Now redirect rules that would lead to a chain of subsequent redirects will always be flattened into one efficient redirect rule.

Before if you had a site on www.example.com with a redirect from /blog to /news, with https enabled, then going to http://example.com/blog would trigger a chain of redirects:

http://example.com/bloghttps://example.com/bloghttps://www.example.com/bloghttps://www.example.com/news

Now our redirect engine is smart enough to detect that chain and redirect straight from http://example.com/blog to https://www.example.com/news

All this happens straight on our CDN nodes, so the extra roundtrip time when people get redirected is as low as possible.


This post has been featured on Netlify Milestones on the road to 1 Million Devs:

Netlify 1 Million Devs article feature