Losing clicks to competitors? Find out exactly why, and what to fix first.

Show me why
Skip to content

E-commerce SEO

WooCommerce SEO: A Setup Guide in the Right Order

Add saadrazaseo.com as a preferred source on Google

Free and no obligation. A real reply from me, not a bot.

Short answer: WooCommerce SEO works best when you set it up in the right order: fix permalinks before adding products, plan a small category structure, control filter and variation URLs, run one source of Product structured data, then work on images, caching and hosting. Only after that should you polish product pages, internal links and out-of-stock handling, because early choices such as URL structure are painful to undo later.

8%more sales from a Web Vitals optimised landing page in Vodafone’s A/B test, with 31% better field LCPweb.dev, 2021
404What Google recommends a filter combination with no results returns, rather than a redirect to a generic pageGoogle Search Central
4 optionsWooCommerce product permalink bases: default, shop base, shop base with category, or customWooCommerce docs

WooCommerce gives you more control over SEO than hosted platforms, and that control is why stores go wrong: the order you set things up in matters. This guide is for store owners, developers and freelancers building or rescuing a WooCommerce store. It follows the sequence I use, explains the trade-off at each step, and includes a calculator that shows how quickly filters multiply your URLs.

If you are on a hosted platform instead, the trade-offs are different, and I cover them in my Shopify SEO checklist. For the WordPress side that every store shares, such as sitemaps, robots.txt and plugin hygiene, see my WordPress technical SEO checklist.

The setup order at a glance

StepWhat you decideCost of getting it wrong later
1. PermalinksProduct and category URL bases, slugsHigh: every product URL changes and needs a redirect
2. Categories and tagsHierarchy, primary category per product, tag policyMedium: messy breadcrumbs, thin archives
3. Filters and variationsWhich filtered views are indexable, how the rest are handledHigh on big catalogues: crawl waste, index bloat
4. Structured dataOne source of Product markupLow to fix, but common
5. Speed and hostingImages, plugins, caching rules, hostMedium: slow pages and lost sales
6. Product content and stockDescriptions, internal links, discontinued productsOngoing

Permalinks decide what your URLs look like. Changing them after launch means a redirect for every product, and WooCommerce’s own permalinks documentation warns that old links and indexed URLs will return 404 errors unless you set up redirects.

  • Set the general WordPress permalink to post name. Plain URLs force the default product base with an ID in the address.
  • Choose a product base under Settings, Permalinks. The options are the default /product/, a shop base (/shop/hoodie-with-logo), a shop base with category (/shop/hoodies/hoodie-with-logo) or a custom base.
  • Keep the category base different from the product base; WordPress needs them distinct to tell products from categories.
  • Write short product slugs that describe the item, not the full marketing title.

Should the category appear in the product URL?

It reads well, but it ties every product’s address to its category. Move a product, or rename a category, and the URL changes. On stores where the catalogue is still evolving, I recommend the plain /product/ base and let breadcrumbs show the category instead. If your categories are truly stable, the category base is fine.

Decide now, too, whether you will sell in more than one language or country. Retrofitting a multilingual structure onto a finished catalogue is far harder than planning for it; the options are in my guide to hreflang for multi-country sites.

Rather have an expert do this for you?

Hand it over and get back to running your business.

Hand it over to me

Step 2: Plan categories and tags with discipline

Categories are your main route to rankings. Build a small, logical hierarchy that matches how customers search, and give each product one primary category. WooCommerce lets a product sit in several, which is flexible but risky: a product in four categories gives inconsistent breadcrumbs and unclear signals about where it belongs. Add a second category only where a customer would genuinely look for it there.

Use tags sparingly. Every tag creates an archive page automatically, and a store that tags each product with ten loose keywords ends up with hundreds of thin pages that duplicate its categories. Keep a short, deliberate tag list, or keep tag archives out of the index in your SEO plugin.

Then give each category page real content: an introduction, buying guidance and answers to common questions. My article on category page SEO sets out the structure.

Step 3: Control filter, attribute and variation URLs

This is where WooCommerce stores quietly create thousands of near-duplicate URLs. Layered navigation and filter plugins let shoppers narrow by colour, size, price and brand, and each combination, multiplied by every sort order, can produce its own crawlable URL. Use the calculator to see the scale on your own store.

Filter URL estimator

Possible URLs per category2376
Possible filter URLs across the store47520
Small: manageable. Still make sure sort orders are not indexable and that empty combinations return a 404.
Growing: enough to waste crawling on a small site. Pick the few filtered views worth indexing and keep the rest out of the index.
Large: far more filter URLs than real pages. Block crawling of filter parameters you do not want in Search, and turn high-demand combinations into proper category pages.

How to read it: each filter allows “none” plus one choice, so the count is (options + 1) multiplied across filters and sort orders. Multi-select filters, which most plugins allow, create far more. This is the ceiling of what crawlers could find, not what Google will index.

Decide in advance which filtered views deserve to rank. “Men’s waterproof walking boots” may have real demand and deserve its own category or landing page. “Boots, size 9, red, 40 to 60” does not. For the second kind, Google’s guidance on managing faceted navigation is clear: if you do not need filtered URLs in Search, disallow them in robots.txt; canonical tags and nofollow are generally less effective in the long term; empty results should return a 404; and filter parameters should always appear in the same order.

  • Write down the short list of filtered pages you do want indexed, and why: search demand, a distinct product set, something useful to say.
  • Block the rest by parameter pattern in robots.txt, or noindex them if they must stay crawlable for a while. Test patterns with my robots.txt tester before going live.
  • Never link to filtered combinations from menus or body copy.
  • Do not canonicalise paginated category pages to page one. Google’s pagination guidance says each page should have its own canonical URL.

Test, do not assume. A filter plugin can override what your SEO plugin outputs. Open a filtered page, view the source and read the canonical and robots tags yourself. If the damage is already done, my guide to index bloat covers the clean-up, and faceted navigation SEO goes deeper on the strategy.

Variable products

A T-shirt in five sizes and three colours is normally one product page with the variations chosen on it. That is usually right: one strong page beats fifteen weak ones. Check that the product canonical points to itself without variation parameters, that any exposed variation URLs canonicalise to the main product, and that the description names the options in plain language. If colours are genuinely different products with their own search demand, make them separate products.

Step 4: Choose one source of structured data

WooCommerce outputs basic Product markup. Many SEO plugins and some themes add their own, and review plugins add more. The result is two or three conflicting Product blocks, one of the most common issues I find on WordPress stores.

Test a product page in Google’s Rich Results Test, count the Product items, and switch off the extras. Check that price, currency and availability match the page, and that review markup only appears where genuine reviews are visible. Add brand and GTIN where you have them. My guide to schema markup explains the properties in plain terms.

Step 5: Images, speed and hosting

Speed has a direct commercial effect. In Vodafone’s A/B test reported on web.dev, the version with 31% better field LCP produced 8% more sales. Store pages are heavy by nature, so work in three layers.

  1. Images. Resize before upload, use WebP or AVIF where your setup supports it, and write descriptive file names and alt text. WordPress creates responsive sizes; make sure your theme uses them.
  2. Plugins and theme. Remove what you do not use and test product and category templates after each change. Heavy page builders and sliders on product templates are a frequent cause.
  3. Hosting and caching. Cache catalogue pages, but exclude cart, checkout and my-account, which must stay personal to each visitor. Cheap shared hosting struggles with dynamic stores. My guide to hosting, caching and CDNs covers the setup.

When I audit WooCommerce stores in Pakistan, the biggest single speed problem is usually hosting chosen on price alone, often on a server far from the customers, combined with a page builder theme and a dozen plugins added during development and never reviewed.

Once the structure is sound, product content does the rest. Write original descriptions rather than pasting supplier text; my guide to product descriptions that rank covers what to include. Link the way a helpful shop assistant would: related products, the parent category and a buying guide where one exists.

Set a policy for out-of-stock products before it happens. Keep temporarily unavailable products live with clear messaging, and redirect permanently discontinued ones to the closest match. The options are in out-of-stock products and SEO.

WooCommerce SEO setup checklist

  • Permalinks: WordPress set to post name; product base chosen and documented.
  • Distinct bases: product and category bases are different.
  • Slugs: short, descriptive product slugs.
  • Categories: small hierarchy; one primary category per product.
  • Tags: short deliberate list, or tag archives noindexed.
  • Category content: intro and buying guidance on key categories.
  • Indexable filters: written list of the few filtered views you want in Search.
  • Other filters: blocked or noindexed, verified in page source.
  • Empty filters: return a 404, not a redirect.
  • Pagination: each page self-canonical, not pointing to page one.
  • Structured data: one Product block per page, matching visible price and stock.
  • Caching: cart, checkout and account excluded.
  • Images and plugins: images compressed; unused plugins removed.
  • Stock policy: written rule for out-of-stock and discontinued products.

Ticks are saved in your browser.

Common WooCommerce SEO mistakes

  • Changing the permalink structure after products are indexed, with no redirects.
  • Products in many categories, so breadcrumbs and signals are inconsistent.
  • Tag archives and filter URLs indexed with no demand behind them.
  • Two or three plugins each printing Product structured data.
  • Cart, checkout and account pages cached or left indexable.
  • Paginated categories canonicalised to page one, hiding deeper products.
  • Full-size photos uploaded straight from a camera or supplier.

Frequently asked questions

Is WooCommerce better than Shopify for SEO?

It offers more control over URLs, templates and markup, which helps experienced teams. It also needs more maintenance, and a badly configured WooCommerce store can do worse than a well set-up hosted one. The better platform is the one you can run properly.

Do I need an SEO plugin for WooCommerce?

You need a way to edit titles, meta descriptions, canonicals, robots directives and sitemaps, and a reputable SEO plugin provides that. Run only one, and check what it outputs for products and categories.

How do I stop filter pages being indexed?

Decide which filtered views have real demand, block or noindex the rest, and avoid linking to them. Then verify in the page source, because plugins do not always behave as their settings suggest.

Should I noindex WooCommerce tag pages?

On most stores, yes, unless a tag archive targets a real search with a distinct set of products and useful content. Otherwise it duplicates your categories.

Can I change WooCommerce permalinks on a live store?

You can, but plan the redirects first and test them on a staging copy. Every indexed product URL needs a 301 to its new address, or it will return a 404.

Sources

  • Google Search Central, “Managing crawling of faceted navigation URLs” (accessed 2026).
  • Google Search Central, “Pagination, incremental page loading, and their impact on Google Search” (accessed 2026).
  • WooCommerce documentation, “Permalinks” (accessed 2026).
  • web.dev, “Vodafone: A 31% improvement in LCP increased sales by 8%” (2021).

Setting this up properly early saves a lot of rework. If you want a second pair of eyes on your store, my e-commerce SEO services include a technical review of exactly these areas, or you can contact me for a free audit.

Rather have an expert do this for you?

Tell me about your website and goals, and I will reply with a free first review.

Your details are only used to reply to your request. No spam.

Grow my trafficCall