Skip to content

SEO for websites

Ecommerce SEO: how to optimize an online store

Ecommerce SEO centers on category pages, product pages and controlling duplicate URLs. See how to optimize a store from structure to Product schema.

By Leous · Updated · 4 min read

Cover image for the article “Ecommerce SEO: how to optimize an online store” on the Leolinq blog

Ecommerce SEO is the work of optimizing an online store so that its category and product pages appear when shoppers search. Unlike a service site, a store has hundreds or thousands of pages with the same layout, so the main problems are structure, duplication and scale.

This guide covers the parts that matter most: keywords, category pages, product pages, technical issues and schema.

Keywords for a store

  • Category keywords: “men’s running shoes”, “5 liter air fryer”. Assign them to category pages.
  • Product keywords: specific product names and model numbers. Assign them to product pages.
  • Informational keywords: “how to choose running shoe size”, “which air fryer is best”. Assign them to articles.

Category pages usually bring the most traffic, because most shoppers search by type of product before they know a specific model.

Site structure

  • Home → category → subcategory → product.
  • Every product within three clicks of the home page.
  • Breadcrumbs on every page.
  • Short URLs: /running-shoes/ and /running-shoes/product-name/.
Drawing of a route “From the home page to a product” with milestones: Home page → Category → Subcategory → Product
A store is structured from the home page through categories to products, within three clicks.

Avoid categories so narrow they hold one or two products.

Optimizing category pages

  • Title and H1 contain the category keyword.
  • A short introduction at the top: what the category covers and how to choose. A few useful sentences, not a block of keywords.
  • Supporting content below the grid: a buying guide, common questions.
  • Links to subcategories and related categories.
  • Product cards with enough detail: image, name, price, rating.

Optimizing product pages

  • Title: product name, key attribute, brand.
  • A description you wrote. Manufacturer copy is identical on hundreds of other stores. Rewrite it from the buyer’s side: who it is for, what it solves, how it differs from other models.
  • Specifications in a table.
  • Images from several angles, with descriptive alt text, compressed.
  • Reviews from real buyers.
  • Clear buying information: price, stock status, shipping, returns.
  • Related products.
Diagram “Seven parts of a product page to optimize”
The seven parts of a product page that need optimizing.

Technical issues specific to ecommerce

Filters and sorting

Filters by color, size, price and brand generate endless URL combinations with near-identical content. To handle them:

  • Canonicalize filtered URLs to the base category page.
  • Block crawling of parameters with no search value in robots.txt.
  • For combinations people really search for, such as “black men’s running shoes”, create a proper subcategory page with a clean URL.

See canonical tags, redirects and hreflang.

Product variants

Same product, different color or size: use one URL with a variant selector, or several URLs canonicalized to the main one, unless each variant has its own search demand.

Pagination

Each paginated page has a self-referencing canonical. Do not point them all at page one, or products on later pages may never be found.

Out-of-stock and discontinued products

  • Temporarily out of stock: keep the page, state the status, offer a back-in-stock alert.
  • Discontinued, with a successor: 301 redirect to the successor.
  • Discontinued, no replacement: return a 404 or 410, or keep the page with suggestions for similar products if it still gets traffic.

Speed

Product images and third-party scripts are the two main causes of slow stores. See Core Web Vitals.

Stop Google crawling internal search result pages.

Drawing of routes “Out-of-stock and discontinued pages”
How to treat a product page depends on whether the product is temporarily out of stock or gone for good.

Schema for a store

  • Product with Offer (price, currency, availability) and AggregateRating where you have real reviews. This is the schema type with the most visible effect: price, stars and stock status shown in the result.
  • BreadcrumbList.
  • Organization on the home page.

What the schema says must match what the page shows. See schema markup and schema testing.

Google Merchant Center

Submit product data to Google Merchant Center so products can appear on Google’s shopping surfaces, including free listings. The feed must match the product pages.

Key point On a store, put the effort into category pages and duplicate URL control first. That is where most of the traffic and most of the faults are.

  • Buying guides, comparisons and how-to articles attract shoppers who are still researching, and link to categories and products. See on-page SEO and internal linking.
  • Backlinks should point at the home page, the main categories and articles with real value. See how to get backlinks.

Your own store and marketplaces

A marketplace comes with buyers, but you do not own the customer and you depend on its rules. Your own store takes work to build, but it is your asset. Many businesses run both.

Measuring

The main metrics are revenue and orders from organic search, by category. That needs ecommerce tracking set up in your analytics tool. See SEO reporting and KPIs.

Frequently asked questions

Does a store with a few dozen products need to worry about filters?

Much less. Duplication grows with the number of products and filters.

Should every product have a unique description?

Start with the best sellers and the products with the most search demand, then extend. How to set priorities across the whole store is covered in SEO strategy.

Which platform is best for SEO?

The well-known platforms can all do SEO well when configured correctly. For WooCommerce, see WordPress SEO. What matters is how the store is built and run. If you want a team to handle the work end to end, see Leolinq’s SEO packages.

Further reading

Official documentation and reference pages on this topic:

Keep reading More on entity, and backlinks.

Want this done for your site?

Send your domain. We reply within one working day with a first look at your site and a clear quote.

Get a free audit