Why might your URL redirects not be working
Redirects not working? Getting an error when trying to save them? Here’s the most common reasons redirects don’t work how to fix them.
-
The ‘Redirect from’ URL must be a broken URL
- Broken URLs will load a "page not found" placeholder message, or "404" may appear somewhere on the page. This means the requested page has been deleted, unpublished, moved or the URL has simply been misspelt
- If the URL still loads a valid webpage, then Shopify will not support a redirect from this URL
-
The ‘Redirect from’ URL must be a relative URL
- A ****relative URL ****is everything after the domain name in a full URL. For example, if the full URL is
https://your-shopify-store/products/shirt
, the relative URL would be /products/shirt
- Note: Relative URLs always start with a forward slash, /
-
Your ‘Redirect to’ URL must be the correct type of URL
- To redirect visitors to a different page on your primary website domain use a relative URL
- To redirect visitors to a subdomain, secondary domain or a different website use a full URL
-
Due to Shopify’s rules, you can’t redirect certain URLs
- Redirect from URLs can not being with any of the following prefixes:
/apps
, /application
, /cart
, /carts
, /orders
, /shop
, or /services
- The following fixed URLs cannot be redirected:
/products
, /collections
, /collections/all
-
The ‘Redirect to’ URL must load a valid webpage
- If the ‘Redirect to’ URL is a broken link, the redirect will not work
-
The ‘Redirect from’ URL cannot be in use for another redirect
- If the Redirect from URL is already being redirected an error like
{"errors":{"path":["has already been taken"]}}
will be shown
- To edit or delete existing redirects, find them in the table of URL Redirects in Redirect Pro
-
The ‘Redirect from’ URL cannot be redirected to a URL which is being redirected itself
- This means redirects cannot be chained (A —> B —> C)
- If the Redirect to URL (B) is being redirected elsewhere (to C) an error like
{"errors":{"target":["can't redirect to another redirect"]}}
will be shown
- To edit or delete existing redirects, find them in the table of URL Redirects in Redirect Pro
❗️Redirects still not working? Let us help you