For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Sign in
DocsChangelog
DocsChangelog
  • Getting started
    • Introduction
  • The Visual Builder
    • Builder basics
    • Pages
    • Layouts
    • Elements
    • Components
    • Theming
    • Files
    • Responsive design
  • Guides
    • Previewing and sharing
    • Publishing
    • SEO
  • Settings
      • Settings
      • Colors
      • Text styles
      • Hosting
      • Domains
      • Snippets
      • Redirects
      • Sitemaps
    • Developer docs
    • Blog
    • Support
Sign in
LogoLogo
On this page
  • Creating a redirect
  • Permanent and temporary redirects
  • Dynamic forwarding
SettingsSite

Redirects

Was this page helpful?
Previous

Snippets

Next

Sitemaps

Built with

Redirects allow you to forward visitors from one URL to another. They are commonly used when a live page is taken offline to direct visitors to a different URL and prevent them from encountering a broken link.

If using a custom host, redirects will need to be configured directly in your codebase.

Creating a redirect

To create a redirect, go to the “Redirects” tab in your settings and click “Add redirect”. Use the pathname for the URL you want to redirect from. You do not need to include your domain. Make sure the pathname begins with a “/”.

You can forward the path to a page on your site or to any URL.

create a redirect

Permanent and temporary redirects

Permanent redirects are commonly used for old URLs, but you may need to temporarily forward a URL. For example, you might have a URL live for the holidays but redirect it to another URL for the rest of the year. Uncheck the box labeled “This is a permanent redirect” to signal to search engines that the redirect is temporary.

Dynamic forwarding

You can use variables to dynamically forward multiple URLs with a single redirect rule. Here are some examples:

1/blog/:name -> https://medium.com/:name
1/shop/:item -> https://shopify.com/:item
1/:post -> /new-post/:post

The variable (e.g., :name, :post, etc.) can be anything, as long as it’s the same in the “From” and “To” fields.