By Kelvin Musagala, DevOps Web Designers
Foundation
URL structure is store architecture, not only SEO formatting
Ecommerce URLs are part of how a store explains itself. A clean URL can tell the buyer that they are viewing a product, a category, a filtered collection or a search result. A messy URL can create duplicate pages, weak indexing, confusing analytics and painful migration work later.
Many stores do not think about URL structure until the catalogue has already grown. Products get renamed, categories change, filters create many parameter URLs and discontinued products are deleted without a plan. By then, the store may have hundreds or thousands of URLs that search engines can crawl, but not all of them deserve attention.
A strong ecommerce URL plan should cover product URLs, category URLs, filter URLs, search results, pagination, discontinued products and redirects. It should also fit the platform. WooCommerce, Shopify and custom stores each have different constraints, so the best structure is the one that is clean, stable and maintainable inside the system you actually use.
Products
Keep product URLs stable and descriptive
A product URL should be readable enough for a person and stable enough for SEO. A slug like /products/black-leather-office-chair is clearer than a random product ID. But clarity should not create a habit of changing URLs every time the product title is improved.
Product names can change for merchandising reasons. A supplier may update a model name, a brand may change packaging or a store may improve the title for conversion. If every title edit changes the product URL, the store creates redirect work and risks broken links from categories, emails, ads and search results.
- Use product slugs that describe the product without adding unnecessary words.
- Avoid dates, temporary sale terms or stock messages inside permanent product URLs.
- Keep product URLs stable after launch unless there is a real reason to change them.
- Redirect old product URLs when a product is renamed or replaced.
- Do not reuse an old product URL for a different item just because the old one is no longer available.
Product URL decisions connect to what every product page should include. A clean URL is useful, but the page behind it still needs strong images, copy, variants, price, stock and delivery information.
Categories
Use category URLs that match real buying paths
Category URLs should reflect the way buyers browse and search. A broad category might be /collections/office-chairs or /product-category/office-chairs, depending on the platform. A useful subcategory might be /collections/ergonomic-office-chairs. The exact format matters less than clarity and consistency.
Flat category URLs
Nested category URLs
Collection-style URLs
Taxonomy-style URLs
Avoid creating category pages only because a keyword exists. A category page should have enough products, enough buyer value and a clear role in the store. Thin categories can make the store look bigger while weakening SEO quality. Use the category SEO guide to decide which collections deserve permanent URLs.
Filters
Treat filters as a crawl-control decision
Filters are excellent for shoppers and risky for SEO. A buyer may want to filter by colour, size, brand, price, material, rating, availability or delivery option. Those filters can create many URL combinations. Some combinations may be valuable landing pages. Many others are thin, duplicated or temporary.
The mistake is allowing every filter URL to become indexable. A store with ten filters can generate thousands of URLs that show almost the same products in slightly different orders. Search engines may waste crawl attention on those pages instead of focusing on important products and categories.
Filter rule
Let filters help shoppers browse, but only allow filtered URLs into search when they match real demand, have enough products and can offer a useful landing-page experience.
For example, a permanent page for women running shoes may be useful. A URL for red, size 41, discounted, sorted by price may not be. The first has search intent and enough value. The second is a temporary browsing state.
Index control
Use canonical tags and robots decisions carefully
Canonical tags help indicate the preferred version of a page when similar URLs exist. They can be useful for filtered pages, tracking parameters, sorting URLs and duplicate product paths. But they are not a substitute for planning. If the store creates a huge number of low-value URLs, canonical tags may reduce some confusion but still leave crawl waste.
Some filtered or sorted URLs should canonicalize back to the main category. Some should be blocked from indexing. Some should be built as real landing pages. The choice depends on whether the page serves search intent. Do not use the same rule for every parameter without understanding the effect.
- Canonical sorted pages back to the main category when sorting does not create a unique search page.
- Avoid indexing internal search results unless there is a very deliberate reason.
- Use noindex carefully for pages that should be accessible to users but not search results.
- Keep important category pages crawlable and internally linked.
- Check Search Console to see which URL patterns Google is discovering.
Browsing states
Handle pagination and product sorting without confusion
Category pages often include pagination, infinite scroll, load-more buttons and sorting controls. These features help shoppers, but they can create SEO issues when the URLs are unclear. Sorting by price, newest or popularity usually does not create a new search landing page. It is a different view of the same collection.
Pagination should let buyers and search engines reach products reliably. If a store uses infinite scroll, there should still be a crawlable way to discover products. If a store uses page numbers, the structure should be stable. If products are loaded only after a script runs, important product links may become harder to discover.
Sort URLs should usually be treated as browsing states, not permanent SEO pages. A buyer may want to sort by lowest price, but the store usually does not need a separate indexable page for every sort order. The main category page should remain the preferred version unless a sorted view is deliberately built as a useful landing page.
WooCommerce Shopify custom
Be careful with platform defaults
WooCommerce, Shopify and custom stores each create URLs differently. WooCommerce can generate product category archives, tag archives, attribute pages and product URLs that need careful control. Shopify often uses collection and product URL patterns, and products can appear through multiple collections. Custom stores can be cleaner, but only if the developer plans the routing intentionally.
Do not assume the platform default is the SEO strategy. Review the default product URL format, collection format, tag pages, search pages, pagination and filter parameters. Decide which URL types should be indexed, which should remain browse-only and which should be redirected or removed.
If the store is migrating platforms, map the old URLs before launch. Product URLs, category URLs, image URLs and campaign URLs may already have backlinks, bookmarks, ads or Search Console history. A migration without URL mapping can damage search visibility even when the new website looks better.
Maintenance
Plan redirects before products and categories change
Ecommerce stores change constantly. Products are discontinued, collections are renamed, campaigns end and product lines are replaced. URL structure only stays healthy when those changes have a redirect and archive policy. Deleting pages without a plan can waste search equity and frustrate visitors who follow old links.
If a product is temporarily out of stock, keeping the URL live is often better than redirecting it. If a product is permanently discontinued and has a close replacement, redirecting can make sense. If a category is renamed, redirect the old category URL to the new one. If a campaign collection ended but returns every year, consider keeping a useful evergreen page.
This connects to out-of-stock product SEO. URL decisions are business decisions because they affect search visibility, customer experience and reporting.
Stability
Avoid changing URLs for small copy improvements
Store teams often improve product names and category titles over time. That is healthy. It becomes risky when every wording improvement changes the URL. A product title can be improved for clarity while the URL stays stable. A category H1 can become more useful without breaking the existing category URL.
Change a URL only when the current URL is genuinely wrong, misleading, duplicated or tied to a larger migration. If you do change it, redirect the old version and update internal links. Treat URLs like store infrastructure, not disposable copy.
This discipline helps marketing too. Paid ads, email campaigns, social posts and WhatsApp links all depend on URLs staying alive. A clean redirect plan protects more than SEO.
Reporting
Check URL health monthly
URL structure should be reviewed as the store grows. Check Search Console for indexed pages, duplicate pages, crawled but not indexed patterns, 404 errors, redirect chains and parameter URLs. Check analytics for category pages that attract traffic but do not lead to product clicks or sales.
A practical monthly review looks at new categories, deleted products, filter URLs, redirects and sitemap updates. If the store has many products, this work should be part of ecommerce maintenance, not an emergency task after rankings drop.
The best ecommerce URL structure is boring in the right way. It is clear, stable, controlled and easy to explain. Buyers understand where they are, search engines can crawl the right pages and the business can change products without breaking the store every time the catalogue evolves.
Keep planning

