More Flexible 301 Redirects

Updates to 301 Redirect Functionality

More Flexible 301 Redirects

Randy Apuzzo 02.20.2017

301 redirects are a key part of managing or migrating any website. Their primary purpose is to ensure users get to the intended page and that page rank is maintained and pass to the correct pages.

Old behavior

If you were to set up a 301 redirect for /example to a page at the new path of /en/products/example/, it would only be matched directly.

URL Visited Response
/example 301 to /en/products/example/
/example/ 404
/example?utm_medium=linkedin 404
/example/?utm_medium=linkedin 404


New Behavior

Now, that same redirect will be also be caught by other close matches. 

URL Visited Response
/example 301 to /en/products/example/
/example/ 301 to /en/products/example/
/example?utm_medium=linkedin 301 to /en/products/example/?utm_medium=linkedin
/example/?utm_medium=linkedin 301 to /en/products/example/?utm_medium=linkedin

Experience a Headless Content Management System, Join Zesty.io.


Start a Sandbox Now

More from Mindshare: Marketing Technology

Placeholder image

The Complete Guide to Launching a Website

Whether you're launching a new site or migrating to a new CMS, this guide will walk you through all the

Read Article
Placeholder image

Manager UI & Instances API Release Notes Jan 31 2019

A list of updates, releases, and patches from Jan 11-31

Read Article
Placeholder image

When Does It Make Sense to Automate SEO?

If you don’t have a full time team constantly optimizing your site, you need to invest in software that will

Read Article
Placeholder image

Using Environment Variables with Google Cloud Functions

One feature that’s been noticeably absent from the Cloud Functions runtime until very recently has been support for environment variables.

Read Article
Randy Apuzzo photo

Randy Apuzzo

Founder & CTO, Zesty.io

Randy has had a penchant for computer programming from an early age and started applying his skills to build business software in 2004. Randy's stack of skills range from programming, system architecture, business know-how, to typographic design; which lends to a truly customer-centric and business effective software design. He leads... Learn More

Exploring content solutions? Looking to replatform?