Redirects

Last updated on April 04, 2026.

Redirects let you send visitors from one URL to another. Use them when you move content to a new location, set up vanity URLs, or consolidate duplicate pages.

Setting Up a Redirect

Create a page file with the property in the YAML front matter:

The property controls the HTTP status:

  • 301 - Permanent redirect. Search engines transfer the old URL's ranking to the new one.
  • 302 (default) - Temporary redirect. The old URL keeps its search ranking.

Dynamic Redirects

Use Liquid in the page body for conditional redirects with the Liquid tag:

This approach is useful for redirecting unauthenticated users, handling language-based routing, or redirecting based on query parameters.

Have a suggestion for this page?

Didn't quite find what you are looking for or have feedback on how we can make the content better then we would love to hear from you. Please provide us feedback and we will get back to you shortly.