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:

  1. From your Shopify admin, clickSettings>应用和销售渠道s.

  2. From the应用和销售渠道spage, click欧宝体育官网入口首页.

  3. ClickOpen sales channel.

  4. ClickNavigation**.

  5. ClickURL Redirects.

  6. ClickCreate URL redirect.

  7. InRedirect from, enter the old URL that you want to redirect visitors from.

  8. 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/.

  9. 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

Steps:

  1. ClickDate added.
  2. From the drop-down menu, choose the date period that you want to filter.

Save a URL redirect filter

Steps:

  1. Create a filter using the search box or byfiltering URL redirects by date.
  2. ClickSave filters.
  3. Select a name for your filter.
  4. ClickSave filters. Filters are saved as a new tab at the top of the list.

删除a URL redirect filter

Steps:

  1. Select the filter that you want to delete.
  2. ClickSaved.
  3. ClickRemove tab, and then clickRemove.

Edit the name of a URL redirect filter

Steps:

  1. Select the filter that you want to edit.
  2. ClickSaved.
  3. Edit the tab name, and then clickSave filters.

Edit URL redirects individually

Steps:

  1. Click the URL redirect that you want to edit.
  2. Enter the changes.
  3. ClickSave redirect.

Edit multiple URL redirects at the same time

Steps:

  1. Select the URL redirects that you want to edit.
  2. Click编辑重定向.
  3. Enter the changes.
  4. ClickSave.

Export your URL redirects

Steps:

  1. ClickExport.
  2. Choose which redirects you want to export.
  3. Select which type of CSV file you want to export.
  4. ClickExport URL redirects.

进口your URL redirects

To import your existing URL redirects:

  1. Click进口.
  2. ClickAdd Fileand select a CSV file.
  3. ClickUpload file.
  4. Review the import.
  5. Click进口redirects.
  6. ClickClose.

删除URL redirects

Steps:

  1. Select the URL redirects that you want to delete.
  2. ClickMore actions.
  3. Click删除selected redirects.
  4. 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-shirtto/collections/t-shirts.

After creating the URL redirect, customers in the United States who try to visit/products/blue-t-shirtare automatically redirected tojohns-apparel.com/collections/t-shirts, and customers in Canada who try to visitjohns-apparel.com/en-ca/products/blue-t-shirtare 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.

Ready to start selling with Shopify?Try it free