Redirects

Understand redirects

What is a redirect, and when would I use one?

A redirect occurs when a web server is set to navigate a user to a different URL from the one they are attempting to visit. Redirects serve a variety of purposes ranging from providing error messaging to assisting with moving from one organizational structure to another. For example, when you receive a 404 - Not found error in your browser with a custom error page, you have been redirected from the missing page to the error report.

Within Liftoff, one of the most common uses of a redirect for site administrators is to maintain SEO. If you are bringing your site from another platform, redirects allow you to continue using the same links and URLs that your users are accustomed to, and avoid search engines seeing all of your old URLs as broken.

🚧

Redirecting to and from your primary LIftoff domain

Please note that you can only redirect existing Liftoff sites to other existing liftoff sites or an external site. If you wish to redirect an external site to Liftoff, you must handle this with your domain registrar's DNS tools.

Supported redirect codes

Liftoff supports the following redirect codes:

  • 301 – Moved Permanently
  • 302 – Found
  • 303 – See Other
  • 304 – Not Modified
  • 305 – Use Proxy
  • 307 – Temporary Redirect

📘

Further reading

For the purposes of setting up a Liftoff site, you'll rarely use any code other than 301 - Moved Permanently, but the other codes do have important purposes.

For a more detailed, technical explanation of what each of these codes means, and their intended purpose, you may review the Mozilla Developer Network documentation on redirects.

🚧

Using redirects for SEO purposes

While Liftoff provides SEO friendly markup and features, we do not offer SEO services, nor make any claims or warrants regarding the effectiveness of their use. If you require SEO services, we recommend that you seek out a third-party provider.

Use redirects on your Liftoff site

The [redirect listing](https://my.liftoff.shop/redirects) for your site may be reached by navigating to Website -> Redirects from within My LiftoffThe [redirect listing](https://my.liftoff.shop/redirects) for your site may be reached by navigating to Website -> Redirects from within My Liftoff

The redirect listing for your site may be reached by navigating to Website -> Redirects from within My Liftoff

Create a new redirect

To create a new redirect, navigate to the Redirects listing, and click the Add Redirect button. You will be presented with a set of three fields.

When your users visit the URL listed in Old URL Path, they will instead be redirected to the URL listed in the URL field either on the site you're working on, or on a different site, depending on the selection you make.

For most use cases, it is recommended that you only use the response code 301 - Moved Permanently. See the section above on redirect codes for more information on what these codes mean.

Edit an existing redirect

To edit an existing redirect, navigate to the Redirects listing, and click the Edit button next to the redirect you wish to edit.

Delete an existing redirect

To delete an existin redirect, navigate to the Redirects listing, and click the Delete button next to the redirect you wish to delete.