Ecommerce URL Structure for Indian Online Stores
Control filter URLs, product variants, canonical tags and crawlable navigation as an online catalogue grows.
By Chamko Research Team Updated 3 min read
Quick answer
An online store starts with a few categories. Later it adds colour, size, brand and price filters, sorting, pagination and tracking parameters. Each combination can create another URL.
Catalogue growth can create a URL problem
An online store starts with a few categories. Later it adds colour, size, brand and price filters, sorting, pagination and tracking parameters. Each combination can create another URL. If every variation becomes indexable, crawlers may spend time on low-value duplicates while important categories and products become harder to prioritise.
Start with an inventory of category, subcategory, product, variant, filter, sort, search and pagination URLs. For each template ask: does it represent a distinct useful page, can a crawler discover it through a link, is its canonical relationship clear, and should it be indexable?
Establish a predictable hierarchy
A readable structure might be /women/kurta-sets/printed-cotton-set/. It should reflect the catalogue without becoming fragile. Product URLs should remain stable when a product is linked from several categories. Avoid unnecessary date folders and keyword-heavy slugs.
Decide which filters deserve indexation
A category may generate URLs for black colour, size 8, low-to-high sorting and combinations of all three. These are not automatically useful landing pages. Sorting usually changes order rather than meaning. A filter may create a useful page only when it represents stable demand and a distinct product set.
| URL type | Decision question |
|---|---|
| Sort order | Does it add unique value? |
| Colour filter | Is the page stable and useful? |
| Size filter | Does it serve a distinct need? |
| Brand filter | Is it maintained as a real category? |
| Multiple filters | Is it more than a temporary selection? |
Do not allow arbitrary combinations to create an uncontrolled index. If a filtered page deserves search visibility, create it intentionally with a stable URL and useful content.
Handle variants consistently
For products with colour or size variants, decide whether users select options on one URL or each variant has a separate URL. If separate URLs exist, make the selected state clear and use a deliberate canonical strategy. Google's ecommerce guidance discusses using a canonical product URL on variant pages where appropriate. Do not hide meaningful variant information by canonicalising blindly.
Check that title, image, stock and selected option match the variant URL. Product data must describe the actual offer shown.
Keep links crawlable
Important product destinations should be discoverable through ordinary anchor links with valid href values. A click handler that changes a product grid but exposes no crawlable destination is a fragile discovery path. Use descriptive link text rather than “click here” everywhere.
For long category lists, provide crawlable pagination or another stable route to subsequent items. Infinite scroll should not be the only way to reach products.
Deal with empty categories and migrations
A temporarily empty category may remain useful if products are expected back. A permanently discontinued category may need a relevant replacement, an appropriate not-found response or another deliberate treatment. Do not redirect unrelated products to the homepage just to avoid errors.
Before changing routes, export old URLs, map each to its closest new destination, implement direct redirects, update internal links and canonicals, refresh the sitemap and test templates. Avoid redirect chains and irrelevant redirects.
Common mistakes
- Indexing every filter combination.
- Changing stable product URLs for cosmetic reasons.
- Relying on JavaScript-only navigation.
- Using inconsistent parameter formats.
- Publishing canonicals that contradict internal links.
- Redirecting unrelated discontinued products.
Frequently asked questions
1. Should every filter URL be indexed?
No. Index only useful, distinct pages that the business intends to maintain.
2. Are query parameters inherently bad?
No. They are normal; uncontrolled duplicate combinations create the risk.
3. Should variants have separate URLs?
It depends on the user experience and product model. If they do, implement a consistent canonical and selection strategy.
4. Is JavaScript navigation allowed?
Yes, but important destinations should also be discoverable through standard links.
5. What happens to an empty category?
Choose based on whether it is temporary, discontinued or still useful. Use a suitable page or status response.
6. Do URL migrations need redirects?
Changed URLs should map directly to their closest relevant destination, with internal links and canonicals updated.
Closing
URL architecture is a set of rules, not a cosmetic exercise. Decide which pages deserve independent visibility, keep variants coherent and prevent filters from multiplying without purpose.
Official references
- https://developers.google.com/search/docs/specialty/ecommerce/designing-a-url-structure-for-ecommerce-sites
- https://developers.google.com/search/docs/crawling-indexing/crawling-managing-faceted-navigation
- https://developers.google.com/search/docs/specialty/ecommerce/pagination-and-incremental-page-loading