Table of Contents
Can I create URL redirects? (Shopify Classic Admin)
You can find the Redirect feature in your Navigation tab in the admin, at the bottom of the page.
Redirects are a great way to point old product URLs to your new URLs when migrating from another store or cart service to Shopify. A redirect is defined by the path which accesses it (for example, "/categories/sports/boomerang"), and the target location to which the site visitor is redirected (like "/products/wooden-boomerang").
Note that the following paths cannot be used when redirecting:
- /application
- /cart
- /carts
- /orders
- /shop
- /products
- /services
- NEW also queried URLs can be redirected from, for example: "/store/products.php?=yellow-kite"
Also note that you cannot redirect from a valid URL in your shop. URL redirects will only work from URLs that would otherwise produce a 404 Not Found error without the redirect. See the last note below if you absolutely need to redirect from a valid URL in your shop to another valid URL. Currently there is a limit of 10,000 redirects per shop.
Finding the Redirects settings in your Navigation area at the bottom of the page

The Redirect screen

Note: Redirecting from a valid URL
You cannot redirect from a valid URL in your shop. URL redirects will only work from URLs that would otherwise produce a 404 Not Found error without the redirect. The best is to always hide or un-publish content that you don't want your customers to see anymore, and then add an URL redirect from your Navigation screen in your admin.
You can use HTML to redirect one page to another by adding a meta tag at the top of the head element in your theme.liquid layout file. You will need to wrap that meta tag in a conditional as you do not want to redirect on all pages, it would cause your website to redirect ad infinitum.
Example:
<!-- to redirect from home page to catalog page -->
{% if template == 'index' %}
<meta http-equiv="REFRESH" content="0;url=http://{{ shop.domain }}/collections/all" />
{% endif %}
This solution is problematic at best because customers will see a flash of the current page before they get redirected.
Here's a JavaScript alternative. That code must be added at the top of your head element in theme.liquid.
<!-- to redirect from home page to catalog page -->
{% if template == 'index' %}
<script>
window.document.location.href = "/collections/all";
</script>
{% endif %}
With the JavaScript solution, you won't see any flash of the current page.
Before you think of redirecting your home page to your collection page, have a look at this excellent tutorial: How do I make the page at /collections/all my home page
Can I create URL redirects? (Shopify 2 Admin)
You can find the URL redirect feature by logging in to your admin panel and clicking on the Links tab.

Redirects are a great way to point old product URLs to your new URLs when migrating from another store or cart service to Shopify. A redirect is defined by the path which accesses it (for example, "/categories/sports/boomerang"), and the target location to which the site visitor is redirected (like "/products/wooden-boomerang").
Note that the following paths cannot be used when redirecting:
- /application
- /cart
- /carts
- /orders
- /shop
- /products
- /services
- NEW also queried URLs can be redirected from, for example: "/store/products.php?=yellow-kite"
Also note that you cannot redirect from a valid URL in your shop. URL redirects will only work from URLs that would otherwise produce a 404 Not Found error without the redirect. See the last note below if you absolutely need to redirect from a valid URL in your shop to another valid URL.
Currently, there is a limit of 10,000 redirects per shop.
The Redirect screen:

Note: Redirecting from a valid URL
You cannot redirect from a valid URL in your shop. URL redirects will only work from URLs that would otherwise produce a 404 Not Found error without the redirect. The best is to always hide or un-publish content that you don't want your customers to see anymore, and then add a URL redirect from your Navigation screen in your admin.
You can use HTML to redirect one page to another by adding a meta tag at the top of the head element in your theme.liquid layout file. You will need to wrap that meta tag in a conditional as you do not want to redirect on all pages, it would cause your website to redirect ad infinitum.
Here's a JavaScript solution. That code must be added at the top of your head element in theme.liquid. To get to theme.liquid select the Themes. Click on the Template Editor
button. Find the theme.liquid file. At the top of the file, under the head tag insert the following:
<!-- to redirect from home page to catalog page -->
{% if template == 'index' %}
<script>
window.document.location.href = "/collections/all";
</script>
{% endif %}
With the JavaScript solution, you won't see any flash of the current page.
Before you decide to redirect your home page to your collection page, have a look at this excellent tutorial: How do I make the page at /collections/all my home page
