Skip to main content
All CollectionsTreez EcommerceSettings & Configurations
Setting Up URL Redirects for Your Website
Setting Up URL Redirects for Your Website

How to redirect shoppers from outdated URLs and old webpages to the best current page on your Treez Ecommerce site

T
Written by Treez Support
Updated yesterday

Whenever you make changes to your website, it's important to set up redirects for any impacted URLs. For example, if your About page used to be treez.io/about and now it's treez.io/about-us, you'd want to set up a redirect from /about to /about-us to prevent users from landing on a 404 error page when they click an outdated link.

How to Set Up Redirects for Treez Ecommerce

Whether you need to add a new redirect rule or edit an existing rule, first you'll want to:

  1. Navigate to your Treez Ecommerce Admin panel and login

  2. Go to Settings

  3. Under Active Apps, select Redirect

Read on for further instruction depending on whether you're adding or editing a rule.

Adding a New Redirect Rule

  1. Select Free mode to open the code editor

  2. Copy the code from the first curly bracket to the last curly bracket, including both curly brackets.

  3. Add in a comma to the right of the last curly bracket, then paste in the copied code.

  4. Input the outdated URL next to Source

  5. Input the new destination URL next to Destination

  6. Click Update to save

  7. Click Publish to publish your changes to your Treez Ecommerce site

  8. Voila! Your rule has been edited. Test it by opening a new tab and pasting in the Source (outdated) URL. If all is working as expected, the new Destination page should load instead!

Editing an Existing Redirect Rule

  1. Find & open the rule you want to edit in either Visual mode or Free mode

  2. Input the outdated URL next to Source

  3. Input the new destination URL next to Destination

  4. Click Update to save

  5. Click Publish to publish your changes to your Treez Ecommerce site

  6. Voila! Your rule has been edited. Test it by opening a new tab and pasting in the Source (outdated) URL. If all is working as expected, the new Destination page should load instead!

Did this answer your question?