URL redirects allow you to handle URLs which don't exist on your site and result in a 404 (not found). You can tell these 'broken links' to redirect to somewhere else.
Setting up URL redirects is handy if:
Your migrating your store to Airsquare from another platform and the URLs are different.
You've changed the URL path for a page/product/event/article and want the old link to still work.
You're sending an email newsletter and sent the wrong link to everyone!
You want to create shorter URLs which you want to share in emails, over the phone or social media.
Setting up a URL redirect just requires the old URL path (link that doesn't exist) and the new URL path (where you want it to go to).
How do I add a URL redirect?
Go to Website > Settings > URL redirects.
Click Add.
Enter the Old URL path (link that doesn't exist).
Enter the New URL path (where you want it to go to on your site).
Click Add.
Note the URL paths must start with a forward slash '/'.
How do I import URL redirects?
Our import feature allows you to bulk add URL redirects by uploading a Microsoft Excel spreadsheet (.xlsx file type) that contains a single sheet of data structured into supported columns.
To create the supported columns, add the following headings to the first row of two of the spreadsheet columns:
OLD_URL_PATH
NEW_URL_PATH
Once the supported columns have been created, URL redirect data can be added providing it meets the following guidelines:
Each row of your spreadsheet is read as a single URL redirect.
OLD_URL_PATH and NEW_URL_PATH - must start with a forward slash '/'.
OLD_URL_PATH - cannot already be an existing URL redirect and should be relative (e.g. /products/123-abc). Don't include the domain name.
Once URL redirect data has been added, the spreadsheet can be imported using the following process:
Go to Website > Settings > URL redirects.
Click Import.
Click Choose File under Select the file on your computer to open a File Explorer window.
Select the spreadsheet you wish to import from your computer.
Click Import.
Once the import has finished, you will be redirected back to Website > Settings > URL redirects where a success message will be displayed.
If there have been any issues with your URL redirect data, an error message will be displayed with the row number and issue. Make the relevant changes to your URL redirect data then repeat the process above from step 3.
Help! URL redirects for .asp, .aspx, .php, .html, .htm don't work!
By default we block all requests to those file extensions.
We can remove this restriction if you require.
How do I edit a URL redirect?
Go to Website > Settings > URL redirects.
Find the URL redirect you want to edit and click Edit.
Change the URL paths.
Click Update.
How do I delete a URL redirect?
Go to Website > Settings > URL redirects.
Find the URL redirect you want to delete and click Delete.
Click Delete.