Shopify URL Structure for SEO: Handles, Redirects and Canonicals
A clear URL helps visitors recognise a page and makes it easier to maintain consistent internal links. Shopify provides much of the URL structure automatically, so optimisation starts with understanding which parts you can edit and which parts the platform controls. Changing a product handle can be useful, but it is not the same as changing Shopify's underlying route prefixes.
The goal is not to force every URL into an imaginary ideal format. It is to keep important URLs stable, descriptive and accessible; manage redirects carefully; and avoid creating confusing duplicate routes through collections, filters or tracking parameters.
What Shopify lets you change
Shopify commonly uses paths such as /products/product-handle, /collections/collection-handle and /pages/page-handle. Merchants can normally edit the handle — the descriptive last part — but cannot freely remove or redesign all of these native route prefixes through ordinary Shopify admin settings. For example, changing /products/blue-shirt to /products/blue-cotton-shirt is a handle edit; turning it into /clothing/shirts/blue-cotton-shirt is not a standard native product-route change.
| Page type | Typical Shopify path | Main editing decision |
|---|---|---|
| Product | /products/blue-cotton-shirt | Choose a clear, stable product handle |
| Collection | /collections/mens-shirts | Use a descriptive collection handle |
| Page | /pages/shipping-information | Keep information-page handles understandable |
| Blog article | /blogs/guides/size-guide | Check blog and article handles before changing |
These are illustrative paths; verify the routes used by the actual store and theme.
Choosing clear handles
A good handle describes the page in plain words, uses hyphens between words and avoids random strings or IDs. Including the main topic — for example /collections/mens-running-shoes — helps visitors and keeps links understandable. Keep handles concise, but do not change a working URL solely to insert a keyword.
How to change a handle without losing useful traffic
Before changing a live handle, check whether the existing URL receives search traffic, has inbound links or appears in marketing materials. In the Shopify admin, editing a product, collection or page handle normally offers a Create a URL redirect option for the old address; keep it selected unless you have a specific reason not to. Redirects can also be reviewed under Content → Menus → URL redirects (labels vary slightly between admin versions).
- Record the current URL, its Search Console clicks and impressions, and any important external links.
- Change the handle and keep the automatic redirect.
- Open the old URL in a private browser window and confirm it lands on the new URL in one step.
- Update menus, featured-product sections and article links so they point straight at the new URL.
- Recheck the old URL a few weeks later, and keep the redirect for as long as the old address may still be linked.
Avoid repeated cosmetic handle changes. A shorter URL is not automatically better if it creates redirect chains or breaks links. Keep the final URL consistent across navigation, product cards and XML sitemap entries.
When a handle change is worth it
| Situation | Recommendation |
|---|---|
| Handle describes a different or discontinued product | Change it, keep the redirect and update internal links |
| Handle contains a random string, ID or copy suffix such as -1 or -copy | Usually worth fixing on priority pages |
| Handle is clear but lacks a preferred keyword | Usually leave it; improve the title and on-page copy instead |
| URL already ranks and earns clicks | Change only with a clear reason and a tested redirect |
| Product is being merged into another product | Redirect to the closest equivalent product, not the homepage |
Duplicate paths and canonical tags
Some Shopify themes or navigation patterns link to a product through a collection-context URL as well as its direct /products/ URL, for example:
/collections/shoes/products/running-shoe
/products/running-shoe
Search engines may discover both paths. Most Shopify themes output {{ canonical_url }}, which points collection-context product URLs at the plain /products/ URL, but custom themes and apps can change this. Inspect the actual canonical element on the rendered page and confirm the preferred product URL is consistent. Many themes can also be adjusted so product cards link directly to /products/ URLs, which removes the duplicate path from internal links altogether. Do not assume every duplicate-looking URL is indexed, and do not solve canonical problems by blindly blocking all collection-context paths in robots.txt. See also: Shopify duplicate content SEO.
For filtered collections, sorting and tracking parameters such as ?sort_by=price, first establish whether a parameter creates a useful landing page or merely a variation of an existing page. Use a consistent internal-link strategy and test canonical/indexability behaviour on representative examples. Avoid universal rules that would hide valuable filtered pages or prevent crawlers from evaluating canonical signals. For filter-specific rules, see the Shopify faceted navigation SEO guide and Shopify crawl budget optimisation.
If the store sells into several countries with Shopify Markets, localised URLs may add a language or country prefix such as /en-gb/products/running-shoe. Those versions should keep their own self-referencing canonicals and hreflang annotations; check them on the live storefront rather than assuming the theme handles every market correctly.
URL hierarchy and internal linking
Because Shopify's paths are largely flat, hierarchy is expressed mainly through navigation, collections and contextual links rather than nested folders. A typical journey is homepage → collections → products. Make sure links in menus, product cards and articles point to clean, preferred URLs rather than parameter or duplicate versions. See: Shopify site structure SEO and the Shopify internal linking SEO guide.
URL audit checklist
- Export or list priority product, collection and content URLs.
- Identify handles that are misleading, duplicated or difficult to understand.
- Inspect a sample of canonical tags, especially product URLs reached through collections.
- Check whether internal links consistently use preferred URLs.
- Test redirects for previously changed handles and fix broken destinations.
- Inspect parameters generated by filters, sorting and campaigns before changing crawl rules.
- Recheck key URLs after theme or app changes.
For indexing checks that go beyond URLs, work through the technical SEO checklist; if you find indexing gaps, see Shopify indexing issues.
Check your store's SEO foundations
Review metadata, on-page and technical signals on your own pages alongside this URL checklist.
Check your store's SEO foundationsCommon mistakes to avoid
Removing native prefixes without a supported implementation: Shopify's standard product and collection route structures are not freely editable. Treat custom routing as a separate technical project, not a simple SEO setting.
Changing URLs solely to insert keywords: Descriptive handles are useful, but unnecessary changes can create redirect overhead and disrupt existing links.
Blocking every parameter or alternate route: Robots directives, canonical hints and indexability controls solve different problems. Investigate the specific URLs before applying blanket rules.
Forgetting internal links after redirects: A redirect may keep an old URL accessible, but important navigation should link directly to the current preferred page.
Scaling URL management for large stores
As catalogues grow, agree naming conventions for handles, document when a change is justified and review redirects periodically. Structured data on product pages should also reference the preferred URL — see how to add Product schema in Shopify. For catalogue-wide workflows, see the Shopify SEO automation guide.
Conclusion
Good Shopify URL management is mostly about stability and consistency: clear handles, careful redirects, consistent internal links and verified canonical behaviour. Work within the routes Shopify provides, test changes on representative URLs and recheck after theme or app updates.
Start a website assessment
Use an assessment of your own pages to decide which URL, metadata and technical issues are worth fixing first.
Start a website assessment