⌂ Avda. Blas Infante 2, Algeciras (Spain)☎ +34 856 224 222✉ info@duyal.es
Home›Ecommerce SEO: a guide to ranking your online shop on Google (WooCommerce and PrestaShop, 2026)
SEO

Ecommerce SEO: a guide to ranking your online shop on Google (WooCommerce and PrestaShop, 2026)

An ecommerce SEO guide: keywords, categories, product pages, filters, structured data and what to set up in WooCommerce and PrestaShop.

A beautiful online shop isn't much use if nobody can find it on Google. Ecommerce SEO has its own rules: hundreds of near-identical URLs, filters that multiply pages, products that sell out and product pages with descriptions copied from the manufacturer. In this guide we explain what to do, in order, to rank your shop, including what to change in WooCommerce and PrestaShop.

  • What ecommerce SEO is
  • Keywords for an online shop
  • Site structure and categories
  • Product pages that rank
  • Filters, pagination, variants and out-of-stock products
  • Structured data and Merchant Center
  • SEO in WooCommerce
  • SEO in PrestaShop
  • Content, links and local SEO
  • How to measure results
  • SEO checklist for online shops
  • Frequently asked questions

1. What ecommerce SEO is and how it's different

Ecommerce SEO is the work of getting a shop's categories and products to appear in Google's organic results when someone searches for what you sell. The foundations are the same as for any SEO, but a shop has three differences that change everything:

  • Lots of similar pages. Even a small shop has dozens of categories and hundreds of product pages, and every filter or sort order can create a new URL.
  • Purchase intent. Someone searching for "women's trail running shoes" wants to see products, not an article. The page that should rank is the category.
  • A changing catalogue. Prices, stock and products come and go, and Google needs to find out in time.

Be careful not to confuse it with conversion: SEO brings qualified visits, and the shop has to turn them into orders. We cover that second part in how to create an online shop that turns visitors into customers.

2. Keywords for an online shop: each page has its own search

The most common mistake is trying to rank the home page for everything. In a shop, each type of page answers a type of search:

To find them, you can use the Google Ads Keyword Planner, Google's own suggestions and the Search Console Performance report, which tells you which searches you already appear for. Note down the keyword for each category and make sure no two pages compete for the same one.

3. Site structure and categories: the skeleton of your SEO

Caption: Categories capture generic searches and product pages the specific ones. Everything should be connected with normal HTML links.

Google discovers your products by following links. This is what works for us in the shops we build:

  • Keep it shallow. Home, category, subcategory and product. If a product is six clicks away, it's hard for Google to crawl it often.
  • Categories based on searches, not on the warehouse. "30-litre rucksacks" can be a subcategory if that's how people search for it.
  • Useful text on every category: two or three paragraphs to help people choose (materials, uses, sizes), ideally below the listing so the products are seen first.
  • Breadcrumbs on categories and product pages.
  • Descriptive, stable URLs. Google's ecommerce documentation recommends descriptive words in the path (/product/black-t-shirt-white-collar rather than /product/3243) and always using the same URL in menus, internal links and the sitemap.

4. Product pages that Google understands and that sell

If you sell the same thing as a hundred other shops and copy the manufacturer's description, your page is just one more. What makes the difference:

  • A complete product title: brand, model and the attribute people search for (colour, capacity, size).
  • Your own description, written for someone who's undecided: what it's for, who it's for, real measurements, what's in the box, care instructions.
  • Your own photos, with alt text that describes the product ("30-litre green hiking rucksack, side view"). Google uses alt text and file names to understand images, and they weigh less if you upload them as WebP or AVIF.
  • Customer reviews on the product page. Google recommends letting customers rate products because it helps other shoppers decide.
  • Delivery, timescales and returns clearly visible. Google also advises showing shipping and returns policies clearly.

With hundreds of products, start with your best sellers and the ones already appearing on page two of Google.

5. Technical SEO for a shop: filters, pagination, variants and out-of-stock products

Caption: Categories, their following pages and product pages should be indexed; sort orders, filter combinations and private pages should not.

Filters (faceted navigation)

Every combination of colour, size and price creates a new URL. Google explains in its documentation that these URLs can create "infinite URL spaces" that lead to lots of useless pages being crawled and good ones taking longer to be discovered. Its recommendation: if you don't need those URLs to appear on Google, stop them being crawled with robots.txt. If a filter has its own searches, turn it into a subcategory with a clean URL, title and text.

Pagination

For categories with several pages, Google asks for each page to have its own URL (for example, ?page=2), for them to be linked to each other with normal links and for each to have its own canonical, not the first page's. Watch out for "load more" buttons built only with JavaScript: Google doesn't click buttons. And sort orders (?orderby=price) are best set to noindex.

Product variants

If a product comes in sizes or colours, Google recommends that each variant can be identified by its own URL, for example /t-shirt?colour=green, with the URL without the parameter as the canonical. Don't use # to tell them apart: Google ignores whatever comes after it.

Out-of-stock and discontinued products

  • Temporarily out of stock: keep the page live, show that it's out of stock and offer a back-in-stock alert or similar products.
  • Permanently discontinued: 301-redirect it to the replacement product or its category.
  • Empty category: Google suggests setting it to noindex or returning a 404 until it has products.

And don't forget speed: a shop that's slow on mobile loses visitors before they even see the product. We explain it in our Core Web Vitals guide.

6. Structured data and Google Merchant Center

Google recommends two complementary ways to share your product data:

  • Product structured data (Product schema with Offer): price, currency, availability, reviews, shipping. It isn't required to appear, but it helps Google understand the page and increases the chance of rich results with price and stars. Check it with Google's Rich Results Test.
  • Google Merchant Center: you upload your catalogue (with a feed, or by letting Google read it from your website). According to Google's documentation, it isn't required to appear in Search, but it is required to appear in the Google Shopping tab, and it also gives access to Google Images, Lens and, if you have a physical shop, Maps.

Keep price and availability identical on the product page, in the schema and in Merchant Center.

7. SEO in WooCommerce: what to set up

What is WooCommerce?

WooCommerce is a free, open-source plugin that turns a WordPress website into an online shop: catalogue, basket, payments and shipping. For SEO, it inherits WordPress's convenience for running a blog alongside the shop.

Key settings

  • Permalinks. Under Settings > Permalinks you choose the product base (/product/, the shop base or a custom one) and the category and tag bases. Decide before launch: WooCommerce's own documentation warns that changing it later changes your product URLs and, without redirects, old links will return 404 errors.
  • An SEO plugin such as Yoast SEO or Rank Math to edit the title and meta description of categories and product pages, generate the sitemap and manage noindex.
  • Product tags. If you don't work on them, they tend to create thin, duplicate pages; it's better not to index them.
  • Filters. Check which parameters your filter plugins generate and block the ones that add nothing.

If you'd like to see how we work with this platform, there are more details on our WooCommerce service page.

8. SEO in PrestaShop: what to set up

PrestaShop is an open-source platform built solely for ecommerce, widely used in Spain and well suited to large catalogues with lots of combinations.

  • Friendly URLs. Under Shop Parameters > Traffic & SEO > SEO & URLs you can enable friendly URLs. PrestaShop's documentation warns that they only work if the server allows URL rewriting (for example, mod_rewrite on Apache), so check that first.
  • Redirect to the canonical URL. In the same section, so that versions of a page with parameters lead to a single URL.
  • Title, meta description and URL for each product, in the product's SEO tab; categories have the same fields on their own page.
  • Filter and combination modules, to be checked just as in WooCommerce so they don't generate thousands of indexable URLs.

We go into more detail on our PrestaShop page.

9. Content, links and local SEO for shops

Categories and product pages capture purchase searches, but many people start earlier, with questions. A blog with buying guides ("how to choose…", "… compared", "what size…") attracts those visits and, with internal links, sends them on to your categories. Two rules: each article should link to the category it relates to, and it shouldn't compete with it for the same search.

External links still count: local media, manufacturers linking to their stockists, or trade associations. A few from your sector are better than lots from anywhere.

If you also have a physical shop, work on your Google Business Profile and link it to Merchant Center so your products can appear on Maps. We explain how in our local SEO guide.

10. How to measure your online shop's SEO

  • Search Console, Performance report: clicks, impressions and position by search and by page. Filter by category and product URLs to see each group separately.
  • Search Console, indexing report: tells you which pages aren't indexed and why; if thousands of URLs with parameters appear, it's a sign your filters are being crawled.
  • Google Analytics 4: revenue and orders from organic traffic, which is what really matters.

11. SEO checklist for online shops

  • Each category has its main keyword and no other page competes for it.
  • No product is more than three or four clicks from the home page.
  • Key product pages have their own description, photos with alt text, and reviews.
  • Filters and sort orders aren't indexed; pagination uses normal links and unique URLs.
  • Permanently discontinued products redirect to their replacement or category.
  • Product structured data validates without errors.
  • The catalogue is in Google Merchant Center and matches the website.
  • Search Console and Analytics are set up and reviewed every month.

Related services for ranking your shop

If you're about to create a shop, or yours doesn't appear on Google, these services may suit you.

Online shops

Custom ecommerce built to sell and to rank from day one. Learn more →

SEO

Audits, keywords, content and links to grow on Google. Learn more →

WooCommerce

WordPress shops, easy to manage and with a built-in blog. Learn more →

PrestaShop

Shops for large catalogues, with lots of combinations and modules. Learn more →

Conclusion

Ecommerce SEO isn't about repeating keywords, it's about organising your shop so every search reaches the right page: categories for generic searches, your own product pages for specific ones, filters under control and clear product data for Google. At Duyal we build and rank online shops in Algeciras and across Spain, with SEO built in from day one.

Tell us about your shop and we'll tell you where to start

Frequently asked questions

What is ecommerce SEO?

It's the work of getting an online shop's categories and products to appear in Google's organic results when someone searches for what you sell: keywords for each page, structure, control over which URLs are indexed, product data and links.

Which is better for SEO, WooCommerce or PrestaShop?

Both can rank a shop well. WooCommerce makes use of the whole WordPress ecosystem, which is handy if the shop will have lots of content or a blog. PrestaShop is a platform built solely for ecommerce and often suits large catalogues with lots of combinations. How it's set up matters more than the platform.

Should a shop's filter pages be indexed?

As a general rule, no. Google's documentation recommends preventing crawling of faceted navigation URLs you don't need in search, using robots.txt, or using noindex on sort orders. If a filter answers a search with its own volume, such as "women's trail running shoes", it's better to turn it into a subcategory with its own URL, title and text.

Is Google Merchant Center required to appear on Google?

Not to appear in the normal search results, but it is required to appear in the Google Shopping tab, according to Google's documentation. Uploading your products to Merchant Center also helps Google understand prices and availability better.

What should I do with out-of-stock products?

If the product is coming back, keep the page live, show that it's out of stock (in the structured data too) and offer alternatives or a back-in-stock alert. If it isn't coming back, redirect its URL to the most similar product or its category so you don't lose any links it has earned.

◉