Shopify URL redirects: rescuing old links when products disappear
You delete a sold-out product, rename a collection or move from another shop system, and suddenly old links from Google, newsletters or social media lead nowhere. Shopify has its own redirect feature for this. This guide shows how it works, where its limits are and which typical mistakes to avoid.
The most important rule: redirects only work for broken URLs
According to Shopify's help centre, you can only redirect from broken URLs, meaning addresses that show "Page not found" or a 404 error. If a valid page still loads at the old address, the redirect doesn't kick in. That's the most common reason why a freshly created redirect "doesn't work".
Creating a redirect: step by step
- In the Shopify admin, go to Content > Menus.
- Click View URL redirects.
- Choose Create URL redirect.
- Enter the old address under Redirect from.
- Enter the new target under Redirect to; for the home page simply use
/. - Save.
Within your primary domain, use relative paths such as /collections/summer; for targets elsewhere, use a full URL. According to Shopify, redirects take effect immediately.
These paths can't be redirected
Shopify excludes some addresses. URLs starting with /apps, /application, /cart, /carts, /orders, /services or /shop can't be redirected, nor can fixed Shopify paths such as /products, /collections and /collections/all. According to the help centre, the following also applies:
- URLs with a collection tag filter (
/collections/name/tag) are always considered valid and can't be redirected. - A URL with
.htmlcan't be redirected to the same URL without.html; Shopify treats both as the same. - URLs with query strings may not work as expected.
- Redirects are not supported in customer account menus.
Discontinued products and seasonal collections
The typical everyday case: a product is discontinued, but its page shouldn't lead nowhere. According to Shopify, you can set a product to Draft or remove it from all sales channels. Its URL then returns a 404 error and can be used for a redirect, for example to the successor product or a matching collection.
The same works with collections: if you hide an autumn collection in summer and redirect it to the summer collection, visitors land there automatically. Watch out: if you later set the visibility back to Visible, Shopify deletes the redirect automatically, because it only applies to 404 URLs. The next time you hide the collection, you have to create it again.
Markets and language folders
If you use Shopify's international features with subfolders such as /en, a redirect you create applies to all language and market folders, according to Shopify. If you want different targets for individual markets, create a separate redirect for each subfolder.
Many redirects at once: CSV import
When you move from another system, hundreds of old addresses can be affected. Under Content > Menus > URL redirects you can import and export redirects via CSV; Shopify provides a sample file as a template. The limit is 100,000 redirects per shop, or 20,000,000 on the Plus plan.
Three mistakes to avoid
1. Redirecting /404 to the home page. Shopify explicitly warns: a redirect from /404 to / interferes with the theme editor, which can then no longer show your 404 page. Remove such a rule.
2. Deleting redirects carelessly. 301 redirects are cached by browsers and search engines. If you delete a redirect, it can keep working for visitors who have already used it until the cache expires.
3. Sending everything to the home page. Technically possible, but someone looking for a specific product then lands on the home page without context. A similar product or the matching collection is usually a more helpful target. Long redirect chains also cost load time; more on that in the load time guide.
When a redirect doesn't work
- ☐ Check both addresses for typos
- ☐ Make sure no active page still loads at the old address
- ☐ Check whether the old address is a fixed path or a blocked prefix
- ☐ Clear your browser cache or test on another device
Shopify store in 24 hours. Moving to Shopify or starting fresh? We set up the shop and configure redirects from your list. €249 total price, ready no later than 24 hours after we receive all access and details. See the package →
Shop already live? The Launch-Check reviews the checkout path, mobile UX and typical launch gaps. €149 total price. See the Launch-Check →
Shopify Help: creating and managing URL redirects
If you want an outside second opinion before launch, the Ladenfertig Launch-Check reviews your shop independently for a €149 final price (§ 19 UStG, no VAT shown), with an automated written report and a prioritised fix list; ask about availability via the enquiry form. Need more depth or a build? The Launch-Check stays the review; Store, Pro and Premium cover setup. An Extended Audit is only available on request via the enquiry page.
Note: this article summarises Shopify's help centre; labels in the admin may differ slightly. This article is not legal or tax advice. Labels and workflows in the admin may change; double-check them in your own account.