This ecommerce SEO guide is for store owners and marketing teams who want more of their products and categories found in search. It works for any platform, whether your store runs on Shopify, WooCommerce, Magento or a custom build. We cover how to structure the store, what to put on category and product pages, and how to stop filters and variants from creating thousands of near-identical URLs.
If your store is on Shopify, our Shopify SEO guide covers the platform's fixed URL paths, theme settings and app issues. This guide stays with the principles that apply everywhere.
Plan a site structure that matches how people shop
A good store structure groups products the way customers think about them. Search engines use the same structure to understand which pages matter most and how they relate.
Start with a short list of top-level categories, then add subcategories only where there is real demand and enough products to fill them. Keyword research helps here: if people search for "waterproof hiking boots" as a distinct need, that may deserve its own subcategory. If nobody searches for "blue hiking boots size 9", it does not.
A few rules we follow:
- Keep important categories within a few clicks of the homepage.
- Give each category one clear purpose. Two categories that target the same search compete with each other.
- Use short, readable URLs, and avoid changing them once pages rank.
- Let a product sit in several categories if it makes sense for shoppers, but give it one main URL.
Write category pages that help shoppers decide
Category pages often target a store's most valuable searches, yet many are just a grid of products with a heading. Adding a short block of useful content gives search engines more to work with and helps shoppers choose.
Useful category content might include:
- A short intro explaining what the range covers and who it suits.
- Buying guidance, such as how to choose a size, material or type.
- Links to closely related subcategories or buying guides.
- A few answers to common questions, if they are genuinely asked.
Keep it honest and specific. Imagine a store selling coffee grinders. A helpful category intro would explain the difference between blade and burr grinders and which suits espresso. A weak one would repeat "best coffee grinders" five times. Place the main copy where shoppers can see it, and check that it still appears on mobile.
Build product pages that stand on their own
Write unique product descriptions
Many stores copy the manufacturer's description. Every other retailer selling the same product has done the same, so there is little reason for a search engine to prefer your page. Write your own description covering what the product does, who it suits, key specifications, sizing or fit, and what is in the box. Original photos, real customer reviews and clear delivery and returns information also help.
If you have thousands of products, start with your best sellers and highest margin items. Improve the rest over time using a consistent template.
Handle out-of-stock and discontinued products
How you treat unavailable products depends on whether they are coming back:
| Situation | What we usually recommend |
|---|---|
| Temporarily out of stock | Keep the page live, show availability clearly and offer a back-in-stock alert or alternatives. |
| Permanently discontinued, with a close replacement | Redirect the old URL to the replacement or its category with a 301 redirect. |
| Permanently discontinued, no replacement | Let it return a 404 or 410, or keep a useful page if it still earns links or traffic. |
Avoid redirecting every removed product to the homepage. It confuses shoppers and is often treated as a soft 404.
Control faceted navigation and filters
Filters for size, colour, price and brand are helpful for shoppers. The problem is that each combination can create a new URL, and a store with a few hundred products can easily produce many thousands of filtered pages. Search engines may spend their time crawling these instead of your real products.
In simple terms, you have three tools:
- Crawl control. Use robots.txt to stop search engines crawling filter combinations that have no search value, such as price ranges or sort orders.
- Canonical tags. A canonical tag tells search engines which URL is the main version of a page. Filtered pages that are close to the main category can point their canonical to it. Canonicals are a hint, not a command.
- Indexable filter pages. A small number of filtered views may match real searches, like "men's running shoes". These can become proper landing pages with their own title, copy and a clean URL.
Do not block a URL in robots.txt and also rely on a canonical or noindex tag on it. If a page cannot be crawled, search engines cannot see those tags. Google's guidance on faceted navigation, listed in the sources, explains the options in more detail.
Fix duplicate content from variants
Product variants, such as colours and sizes, often create separate URLs with almost the same content. Decide early how you will handle them:
- If variants differ only slightly, keep one product page and let shoppers choose the option on it.
- If a variant is searched for on its own, for example a specific colour, it can have its own URL, but give it a unique title, image and description.
- Make sure variant URLs either canonicalize to the main product or are deliberately indexable. Avoid a mix of both by accident.
Keep internal links, canonical tags and the XML sitemap pointing to the same preferred URLs. When they disagree, search engines have to guess.
Add product structured data for what is visible
Product structured data describes a product's name, price, availability, reviews and other details in a format search engines can read. It can make a product eligible for richer search results, though eligibility is never guaranteed.
The key rule is that markup must match what shoppers see on the page. Do not mark up a price that differs from the displayed price, reviews that are not shown, or stock status that is out of date. Google's structured data policies treat this as misleading, and it can lead to rich results being removed.
Check these points on a few product templates:
- Price and currency match the page.
- Availability updates when stock changes.
- Review markup reflects real reviews shown on the page.
- Only one set of product markup is output, not duplicates from a theme and a plugin.
Test product URLs with Google's Rich Results Test and review the relevant reports in Search Console.
Optimize product images
Images matter in ecommerce because shoppers often search visually. Use original, high quality photos where you can, and show the product from several angles.
- Use descriptive file names, such as
oak-dining-table-6-seat.jpg. - Write alt text that describes the image for people who cannot see it.
- Compress images and serve modern formats so pages load quickly.
- Make sure images load in the page HTML and are not hidden behind scripts search engines cannot run.
Use internal links to support key pages
Internal links help search engines find products and understand which pages matter. In a store, the main sources are navigation menus, breadcrumbs, category grids, related product modules and buying guides.
Link from buying guides and blog content to the categories they discuss. Use breadcrumbs so every product links back to its category. Check that pagination on long categories uses normal links that crawlers can follow, so products on later pages are still found. For a site-wide technical review, our technical SEO checklist covers crawling, sitemaps and redirects.
Where to start
If you are unsure where to begin, review your top categories first. Check that each has a clear purpose, useful content and controlled filters. Then move to product templates, variant handling and structured data. Results depend on your market, competition and how much you can improve, so treat this as ongoing work rather than a one-off fix.
Our ecommerce SEO services cover store structure, category content, product templates and crawl control. Contact us with your store URL and we will tell you what we would look at first.
Frequently asked questions about ecommerce SEO
How long does ecommerce SEO take to show results?
It varies with your store's size, competition and how much needs fixing. Technical fixes can be picked up as pages are recrawled, while content and authority improvements usually take longer. We prefer to track progress on specific categories and products rather than promise a timeline.
Should we noindex filtered category pages?
Most filter combinations do not need to be indexed. Some filtered views match real searches and can work well as landing pages. Decide case by case, and make sure noindex pages are not also blocked in robots.txt.
Do we need different SEO for each ecommerce platform?
The principles are the same on every platform. What changes is how much control you have over URLs, templates, filters and markup. Learn your platform's limits, then apply the same structure and content approach.
Can we use manufacturer descriptions at all?
You can use them as a starting point for specifications. The descriptive copy should be your own, written for your customers. Prioritise your most important products first.
Sources and further reading
- Ecommerce SEO best practices | Google Search Central
- Help Google understand your ecommerce site structure | Google Search Central
- Managing crawling of faceted navigation URLs | Google Search Central
- Product structured data | Google Search Central
- Product variant structured data | Google Search Central
- General structured data guidelines | Google Search Central
- Google image SEO best practices | Google Search Central



