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:
Navigate to your Treez Ecommerce Admin panel and login
Go to Settings
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
Select Free mode to open the code editor
Copy the code from the first curly bracket to the last curly bracket, including both curly brackets.
Add in a comma to the right of the last curly bracket, then paste in the copied code.
Input the outdated URL next to Source
Input the new destination URL next to Destination
Click Update to save
Click Publish to publish your changes to your Treez Ecommerce site
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
Find & open the rule you want to edit in either Visual mode or Free mode
Input the outdated URL next to Source
Input the new destination URL next to Destination
Click Update to save
Click Publish to publish your changes to your Treez Ecommerce site
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!