URL redirects
URL redirects can be used to redirect traffic from one web page to another. When you change a URL on your Shopify store, you can create a URL redirect to ensure your customers can still find what they're looking for.
For example, if you delete a product, then you can set up a URL redirect so that when customers enter the URL for that product, they're redirected to a similar product on your store.
Create a URL redirect
Steps:
From your Shopify admin, clickSettings>应用和销售渠道s.
From the应用和销售渠道spage, click欧宝体育官网入口首页.
ClickOpen sales channel.
ClickNavigation**.
ClickURL Redirects.
InRedirect from, enter the old URL that you want to redirect visitors from.
InRedirect to, enter the new URL that you want to redirect visitors to. If you want to redirect to your store's home page, then enter
/
.ClickSave redirect.
Only broken URLs should be redirected. Broken URLs might load a "page not found" placeholder message, or "404" might appear somewhere on the page or in the page title. If the URL still loads a valid webpage, then the URL redirect won't work.
Manage your URL redirects
You can manage your URL redirect list in the following ways:
- Filter URL redirects by date
- Save a URL redirect filter
- 删除a URL redirect filter
- Edit the name of a URL redirect filter
- Edit URL redirects individually
- Edit multiple URL redirects at the same time
- Export your URL redirects
- 进口your URL redirects
- 删除URL redirects
Filter URL redirects by date
Steps:
- ClickDate added.
- From the drop-down menu, choose the date period that you want to filter.
Save a URL redirect filter
Steps:
- Create a filter using the search box or byfiltering URL redirects by date.
- ClickSave filters.
- Select a name for your filter.
- ClickSave filters. Filters are saved as a new tab at the top of the list.
删除a URL redirect filter
Steps:
- Select the filter that you want to delete.
- ClickSaved.
- ClickRemove tab, and then clickRemove.
Edit the name of a URL redirect filter
Steps:
- Select the filter that you want to edit.
- ClickSaved.
- Edit the tab name, and then clickSave filters.
Edit URL redirects individually
Steps:
- Click the URL redirect that you want to edit.
- Enter the changes.
- ClickSave redirect.
Edit multiple URL redirects at the same time
Steps:
- Select the URL redirects that you want to edit.
- Click编辑重定向.
- Enter the changes.
- ClickSave.
Export your URL redirects
Steps:
- ClickExport.
- Choose which redirects you want to export.
- Select which type of CSV file you want to export.
- ClickExport URL redirects.
进口your URL redirects
To import your existing URL redirects:
- Click进口.
- ClickAdd Fileand select a CSV file.
- ClickUpload file.
- Review the import.
- Click进口redirects.
- ClickClose.
删除URL redirects
Steps:
- Select the URL redirects that you want to delete.
- ClickMore actions.
- Click删除selected redirects.
- Click删除to confirm your decision.
Redirects and subfolders
Creating a URL redirect applies to all language or market subfolders set up using Shopify Markets.
For example, John's primary market is the United States onjohns-apparel.com
. He also has a market for Canada on a subfolder atjohns-apparel.com/en-ca
. John decides to stop selling a blue t-shirt on his store, so he deletes the product, and then creates a single URL redirect from/products/blue-t-shirt
to/collections/t-shirts
.
After creating the URL redirect, customers in the United States who try to visit/products/blue-t-shirt
are automatically redirected tojohns-apparel.com/collections/t-shirts
, and customers in Canada who try to visitjohns-apparel.com/en-ca/products/blue-t-shirt
are automatically redirected tojohns-apparel.com/en-ca/collections/t-shirts
.
John can still create individual redirects for each subfolder if he wants to redirect people to a different destination for each market.