Set up 301 redirects for your website
301 redirects are used for redirecting an old URL to a new one on your website. Redirects are useful if you are:
- Migrating your website from another platform to Easol and plan to remove pages from your old website
- Moving a page's content from one URL to a new one
- Diverting people from an old unpublished experience product, blog post or page to a published one
Redirects are a best practice for SEO, as it allows search engine crawlers to identify and rank your new pages. It also creates a better user experience on your website as it prevents customers landing on a 404 "page not found" error.
Note: This feature can't be used to redirect an old domain to a new one (i.e. "yourdomain.com" to "newdomain.com"). If you are changing the domain name of your website, you'll need to use your DNS (domain name system) to forward your old domain to your new one.
How to set up 301 redirects
- In your dashboard, go to Site and select a site version.
- Select Redirects and click Create Redirect.
- Next to Redirect from add the path of the old URL. For example, if your old URL is "https://www.yourdomain.com/retreats", enter "/retreats". Make sure that the forward slash "/" is at the start.
- If your old URL has trailing slashes (e.g. https://www.yourdomain.com/retreats/), do not include the slash at the end. Easol will automatically redirect trailing slashes.
- Ensure that the old URL is no longer accessible on your site — either the page is unpublished, deleted or has changed.
- Next to Redirect to add the path of the new URL. For example, if your new URL is "https://www.yourdomain.com/upcoming-events", enter "/upcoming-events". If you want to redirect a URL to your homepage, enter the forward slash "/" only.
- Click Save to publish changes.
- Go to your old URL and make sure that it is redirecting to your new URL. It may take a few minutes for redirects to update.
Note: It's not possible to redirect a published page to another. Only unpublished or removed pages can be redirected. When logged into the Easol admin, you'll still be able to preview unpublished pages, experience products and blog posts that have been redirected. To ensure redirects are working for unpublished pages, go into incognito/private mode on your browser.
URLs that can't be redirected
Note that you can't set up 301 redirects to and from URL paths that start with:
- /admin
- /b
- /blog*
- /bookings
- /cart
- /checkout
- /common
- /log-in
- /log-out
- /p
- /products*
- /robots
- /script
- /shop
- /shop-style
- /sign-up
- /style
- /t
- /terms
*Redirections can't be applied in these cases if the URL path is taken. For example,/blog/april-12
can’t be redirected because/april-12
is an existing blog post.
Comments
0 comments
Article is closed for comments.