SEO guide

E-commerce SEO guide: how to set up category, product and filter pages

A store site has hundreds of products, dozens of categories and thousands of URLs generated by filters. In this guide you'll find how to set up the site structure, what to write on category and product pages, how to manage filter URLs, variants and out-of-stock products, Product markup, and settings specific to WooCommerce and Shopify.

12 min readUpdated: November 9, 2026

In short

  • Make product URLs independent of the category path; a product listed in more than one category should still have a single URL.
  • Turn the few filter combinations that have search demand into permanent pages; block crawling of the remaining filter, sort and internal search URLs.
  • Don't take a temporarily out-of-stock product offline: the page should return 200 and state the stock status on the page and in the markup.
  • In paginated lists, every page should have its own URL and a canonical tag pointing to itself.
  • The price, stock status and rating in Product markup must exactly match the information visible on the page.

Site structure: categories and subcategories

A store's structure determines both how customers find products and how search engines discover pages. Google's documentation for e-commerce sites recommends linking to the most important pages from the home page and organising categories in a logical hierarchy. A simple structure looks like this:

/                                   ana sayfa
/kadin                              ana kategori
/kadin/elbise                       alt kategori
/kadin/elbise/keten                 aranan bir alt grup
/urun/keten-gomlek-elbise-bej       ürün: kategori yolundan bağımsız
  • Name categories according to search demand. Pick the word your customers use: "Bayan Giyim" or "Kadın Giyim" (two Turkish words for women's clothing), "Mont" or "Kaban" (jacket or coat)? Decide with keyword research.
  • Keep depth limited. Every product should be reachable from the home page in a few clicks. Site crawl lists pages more than three clicks from the home page separately.
  • Separate the product URL from the category. A dress can be in both the "Dresses" and "Sale" categories. If the URL carries the category path, the same product is published at two URLs; a single path such as /urun/… keeps the URL fixed even when the category changes.
  • Use breadcrumbs. The "Home › Women › Dresses" trail on a product page makes navigation easier, gives categories internal links and can be marked up with BreadcrumbList.
  • Convert Turkish characters in URLs. For "Keten Gömlek Elbise" (linen shirt dress), use keten-gomlek-elbise; you can do the conversion with the URL slug generator.

For how to link category and product pages to each other, see the internal linking and site architecture guide.

What should category pages say?

A general search like "linen dress" is answered by a selection rather than a single product, which is why category pages are, in most stores, the pages that can attract the most search traffic. Their main content is the product list; text complements the list.

  • Title and H1: make them specific to the category ("Linen Dress Styles"). If every category carries the title "Products | Store", they can't be told apart in search results.
  • Short introduction: above the list, write a sentence or two that help with the choice: the fabric's properties, which season it suits, a sizing tip.
  • Content below the list: a buying guide, a size chart or category-specific FAQs can go below the list. Don't write long blocks of text that repeat the keyword over and over and that nobody reads.
  • Product links: every product card should lead to the product page through a normal <a href> link. Search engines can't follow cards that open only through a JavaScript click event.
  • Empty category: Google may treat a category that has no products left and returns 200 with a "no products found" message as a soft 404. If the category will come back, link to related categories and similar products; if not, redirect it with a 301 to the closest category.
  • Campaign pages: publish a campaign that repeats every year at the same URL: /kara-cuma (Black Friday), not /kara-cuma-2026. The URL keeps the links and history it collects over the years.

Product pages: descriptions, images and reviews

The product page is the target of searches for the product name and model number. Since other stores sell the same product, what sets your page apart is the information you add.

Original description

If you copy the manufacturer's description as is, the same text ends up published on dozens of sites, and Google generally shows only one of those copies. Write the description around customers' questions: who is the product for, what problem does it solve, how is it used and cleaned, what is it bought with? Give technical specifications such as dimensions, weight, material and compatibility in a readable table. If you have hundreds of products, start with the best-selling and most-searched ones.

Images

Use real photos that show the product from different angles, in use and in a way that conveys its size. Add images with an <img> tag, not as a CSS background; Google finds images through this tag. Give the file name (keten-gomlek-elbise-bej-on.jpg) and the alt text ("Beige linen shirt dress, front view") a short phrase that describes the product. For details, see the image SEO guide.

Reviews and questions

Genuine customer reviews help both sales and the page's original content: customers describe the product in words you wouldn't think of. Show reviews on the page itself; search engines may not see reviews that load only after a button is clicked. Don't delete negative reviews; respond to them. If you mark up reviews, follow Google's review guidelines: ratings must come directly from your own customers, and reviews from other sites must not be collected and marked up.

Price, shipping and returns

Write the price, stock status, shipping cost and delivery time as visible text on the product page, and link to your return policy. This information affects both the customer's decision and whether Google shows the product information correctly.

Filters and faceted navigation: which URLs should be crawled?

As colour, size, brand, price range and sort options combine, a single category generates thousands of URLs: /kadin/elbise?renk=bej&beden=m&siralama=fiyat-artan. Most of these URLs are different orderings of the same products. While bots spend time crawling them, they discover new products late, and filter pages that get indexed compete with the main category.

Google's documentation on faceted navigation describes two approaches:

  • If filter URLs shouldn't be indexed, prevent crawling. Block the filter parameters with robots.txt, or put filters in the part of the URL after the # sign; Google doesn't treat that part as a separate URL.
  • If some filter URLs should be indexed, keep them orderly. Write parameters with the standard & separator and always in the same order, and return 404 for combinations that produce no results.

In practice, combine the two. Turn a few filters with search demand ("linen dress", "leather backpack") into permanent pages on a parameter-free path: give them their own title, introductory text and a self-referencing canonical tag, link to them from the category and include them in the sitemap. Leave parameterised filters and sorting for visitors only and block them from crawling:

User-agent: *
Disallow: /*?*siralama=
Disallow: /*?*fiyat=
Disallow: /*?*renk=
Disallow: /*?*beden=

A canonical tag alone doesn't solve this: it's a hint, it doesn't stop filter URLs from being crawled, though over time it may make them crawled less often. Before publishing the rules, use the robots.txt tester to check that your permanent pages and products stay open.

Because a URL blocked by robots.txt isn't crawled, its noindex tag isn't read either. If filter URLs are already indexed, first wait for them to drop out of the index with noindex, then add the robots.txt rule. The URL Parameters tool in Search Console was retired in 2022; you can now manage parameters only on your site itself.

Start the crawl from a category page; if the crawl limit fills up with filter and sort URLs, search engine bots may be falling into the same trap.

Site crawl

Product variants: colour, size and capacity

There are two setups for a product's colour, size or capacity options, and Google's product variant documentation accepts both:

  • Single page: all options are selected on the same page; each option is specified in the URL with a parameter (?renk=siyah), and opening that URL preselects the option. It's the easiest route for options that aren't searched separately, such as size. The canonical tag of parameterised URLs points to the main product URL.
  • Separate pages: each variant has its own URL, title and content, and each page is its own canonical. This suits variants that are searched separately by colour or model name and whose images differ clearly.

Google supports the ProductGroup type for describing a product group and its options together. A shortened example for the single-page setup:

{
  "@context": "https://schema.org",
  "@type": "ProductGroup",
  "name": "Deri Sırt Çantası",
  "productGroupID": "CNT-001",
  "variesBy": ["https://schema.org/color"],
  "brand": { "@type": "Brand", "name": "Magaza Örnek" },
  "hasVariant": [
    {
      "@type": "Product",
      "sku": "CNT-001-SYH",
      "name": "Deri Sırt Çantası Siyah",
      "color": "Siyah",
      "image": "https://magaza-ornek.com/img/cnt-001-siyah.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://magaza-ornek.com/urun/deri-sirt-cantasi?renk=siyah",
        "price": "1299.90",
        "priceCurrency": "TRY",
        "availability": "https://schema.org/InStock"
      }
    },
    {
      "@type": "Product",
      "sku": "CNT-001-TBA",
      "name": "Deri Sırt Çantası Taba",
      "color": "Taba",
      "image": "https://magaza-ornek.com/img/cnt-001-taba.jpg",
      "offers": {
        "@type": "Offer",
        "url": "https://magaza-ornek.com/urun/deri-sirt-cantasi?renk=taba",
        "price": "1299.90",
        "priceCurrency": "TRY",
        "availability": "https://schema.org/OutOfStock"
      }
    }
  ]
}

Each variant is written with its own SKU, image and offer. An out-of-stock option isn't removed from the list; its status is given as OutOfStock. Test the code in Google's Rich Results Test before publishing.

Out-of-stock and discontinued products

Taking a product offline is an SEO decision: the page may have collected links and reviews and may be ranking. Decide based on the product's status:

Product statusWhat to doResponse code
Temporarily out of stockKeep the page live; show the expected restock date, a "notify me when available" option and similar products. In the markup, OutOfStock or BackOrder.200
On pre-orderState the delivery date; in the markup, PreOrder.200
Discontinued, replaced by a new modelRedirect the old URL to the new model's page.301
Discontinued, but the page is still usefulIf people still search for the user manual, spare parts or reviews, keep the page with a "discontinued" note and alternatives; in the markup, Discontinued.200
Discontinued, no equivalentRemove the page; don't redirect it to the home page or an unrelated page.404 or 410

Bulk-redirecting hundreds of old products to the home page looks easy, but Google may treat redirects to unrelated targets as soft 404s; if there's no similar product, an honest 404 is better. Also clean up internal links to the products you remove. For the differences between the codes and rule examples, see the redirect guide; you can see what your old product URLs return in one go with the bulk status code checker.

Pagination, sorting and "load more"

Long product lists are split into pages. Google's pagination documentation recommends the following:

  • Give every page its own URL: /kadin/elbise?sayfa=2. Don't put the page number after the # sign; Google doesn't follow that part.
  • Each page should be its own canonical. Don't point the canonical tag of the second and later pages to the first page.
  • Link the pages to each other with normal links: previous, next and page numbers. Google no longer uses the rel="next" and rel="prev" tags.
  • Keep sort and filter options out of the index; a different ordering of the same products is not a new page.

If you use infinite scroll or a "load more" button, make sure there is a real URL such as ?sayfa=2 behind it, and that this URL shows that page's products when opened on its own. According to Google's documentation, Googlebot doesn't scroll the page like a user or click buttons; it can't reach products added later only by JavaScript through links.

Product, Offer and AggregateRating structured data

Product markup on a product page helps Google read the product's name, price, stock status and rating correctly and makes it eligible to show this information in search results. The full example and field list are in the structured data guide; these are the most common mistakes in e-commerce:

  • Price that doesn't match the page: a sale starts, the price on the page changes, but the markup is output from a cache with the old price. The markup should be generated from the same template and the same data as the page.
  • Wrong format: the price is written as "price": "1299.90" and the currency as "priceCurrency": "TRY"; "1.299,90 TL" is not valid.
  • Stale stock: availability must always carry the current value: InStock, OutOfStock, PreOrder, BackOrder or Discontinued.
  • Unearned rating: aggregateRating is calculated only from genuine reviews visible on the page. Don't add a rating to a product without reviews, a store-wide rating to products, or ratings collected from other sites.
  • Missing identifiers: add brand, sku and, if available, gtin (barcode); they help Google match the product with the same product in other sources.
  • Product on a category page: Google's guidelines require the markup to describe a specific product; BreadcrumbList is enough on category pages.

Prepare the code in the structured data generator and, after publishing, check the required and recommended fields with the structured data checker.

Merchant Center

Google Merchant Center is a free service that lets you give your product information directly to Google through a product feed, and it is the main way for products to be listed in Google's shopping experiences. Merchant Center compares the price and stock status in the feed with your product page; a mismatch can lead to products being disapproved. That's why the feed, the page and the structured data should be fed from the same source. Which shopping experiences are offered in which country, and their rules, change from time to time; check the current situation in Turkey in the Merchant Center help pages.

Site speed on product listings

With dozens of product images, filter scripts and promotional banners, category pages are the heaviest pages on the site. Common problems:

  • First images load late: don't give the product images in the first row loading="lazy"; the largest element on the page (LCP) is often one of them. Load the images further down with lazy loading.
  • Image dimensions not set: add the width and height attributes; otherwise the list shifts as images load (CLS).
  • One-size images: don't load a large product photo as is into a small card; use srcset to serve the right size for the screen and the WebP or AVIF format.
  • Heavy scripts: live chat, review and recommendation tool scripts can slow down interaction (INP). Remove the ones you don't use and run the rest after the page has loaded.

Run a category page and a product page through the page audit: the report shows the LCP element, lazy loading use, image dimension attributes and image formats separately. The metrics are explained in detail in the Core Web Vitals guide.

Internal search and duplicate content from parameters

Internal search pages

Internal search results (/arama?q=elbise) generate an unlimited number of URLs, and their content is a weak copy of category pages. Malicious actors may also try to get these pages indexed by linking to URLs with spam phrases typed into your search box. Add noindex to search result pages, keep them out of the sitemap and don't link to them from menus. If crawl load is a problem, you can also block crawling with robots.txt (Disallow: /arama) once the pages have dropped out of the index; but a blocked URL that receives external links can appear in the index without its content, so if you're dealing with spam links, stick with noindex. For a frequently searched phrase, create a real category or collection page instead of relying on the search page.

Parameters and duplicate URLs

The same page can open at many URLs: tracking parameters (?utm_source=, ?ref=), session IDs, sorting, upper- and lower-case differences, the trailing slash, and www and non-www versions. Google picks one of them as the main URL; to make sure it picks the one you want:

  • use a canonical tag on every page that points to the main URL without parameters,
  • use only the main URL in internal links, the sitemap and the product feed,
  • store session IDs in cookies, not in the URL,
  • choose one form for www, https and the trailing slash and redirect the others to it with a 301.

Canonical is a hint, not a directive: if the content differs or internal links point to another URL, Google may choose a different URL. Details are in the duplicate content and canonical guide; you can see a single page's canonical and robots tags with the meta tag checker.

Check the required and recommended fields of the Product markup on your product page, along with the price and currency format.

Structured data checker

WordPress (WooCommerce), Shopify and other platforms

WordPress and WooCommerce

  • Product URLs: a base for products is chosen in WordPress's permalink settings. The option that adds the category to the product URL makes the URL change when the category changes. Changing the base after the store goes live changes every product URL and requires redirects.
  • Filtering and sorting: WooCommerce filters usually use parameters starting with filter_ (?filter_renk=bej), the price filter uses min_price and max_price, and sorting uses orderby. Consider blocking these, and add-to-cart links (?add-to-cart=), from crawling.
  • Internal search: WordPress search works with the ?s= parameter; check in the source code whether results pages carry noindex.
  • Stock setting: if you've turned on the setting that hides out-of-stock products from the catalogue, check that product pages still return 200 and aren't left without internal links.
User-agent: *
Disallow: /*?*add-to-cart=
Disallow: /*?*orderby=
Disallow: /*?*filter_
Disallow: /*?*min_price=
Disallow: /*?s=

Shopify

  • Fixed URL structure: products are published under /products/ and collections under /collections/; these prefixes can't be changed.
  • Product URLs within collections: many themes link to products in the form /collections/elbise/products/keten-elbise. Shopify sets the canonical tag of these URLs to /products/keten-elbise; having the theme link directly to the /products/… URL also avoids wasted crawling.
  • Variants: variants are selected with the ?variant= parameter and the canonical tag points to the product's main URL; the single-page setup is applied automatically.
  • robots.txt: Shopify's default file already blocks cart, checkout, internal search and sort (sort_by) URLs. If you need extra rules, edit the robots.txt.liquid template in your theme; check how filter URLs are handled in your own /robots.txt file.
  • Deleted products: a deleted product's URL returns 404. When you change a product's URL (handle), leave the option to create a redirect from the old URL checked; for deleted products, add redirects manually in Shopify's URL redirects section.

Other platforms

If you use a hosted e-commerce platform or are choosing a new one, look for answers to these questions: Can the title, description and URL be edited for every product and category? Can canonical and noindex be set by page type? Can robots.txt be edited, and can bulk 301 redirects be uploaded? Is Product markup updated along with price and stock? Does the sitemap contain only indexable URLs? Changing platforms usually means every URL changes; before migrating, prepare a table that maps old URLs to new ones.

E-commerce SEO checklist

  1. Product URLs are independent of the category path and every product has a single URL.
  2. Category titles, H1s and introductory texts are specific to each category.
  3. Product descriptions differ from the manufacturer's text; technical specifications are in a table.
  4. Product images are added with the <img> tag, with descriptive alt text and dimension attributes.
  5. Searched filters are on permanent pages; other filter and sort URLs are blocked from crawling.
  6. In paginated lists, each page is at its own URL with its own canonical tag.
  7. Out-of-stock products are live with 200; for discontinued ones, a redirect or 404 decision has been made.
  8. Internal search results carry noindex and aren't in the sitemap.
  9. Price, stock and rating in the Product markup match the page.
  10. Site crawl shows no duplicate titles, broken links or redirect chains.

Frequently asked questions

What is e-commerce SEO?

E-commerce SEO is the technical and content work done so that an online store's category and product pages appear in search engines. Site structure, product descriptions, managing filter URLs, stock statuses and Product structured data are its core components.

Should I delete an out-of-stock product page?

Not if the product is coming back. Keep the page live with 200, show the stock status and similar products, and set OutOfStock in the structured data. If the product has been discontinued, redirect it with a 301 to the model that replaces it; if there's no equivalent, return 404 or 410.

Should filter pages be indexed?

Only those with search demand. Turn a few searched filters such as "linen dress" into permanent pages with their own title and text; block other combinations such as sorting, price ranges and multiple selections from crawling with robots.txt.

Does using the manufacturer's description get me penalised?

It doesn't bring a penalty, but among many pages publishing the same text Google generally shows only one. For your page to be the one chosen, add original content to the description, such as usage information, dimensions, frequently asked questions and genuine customer reviews.

In paginated lists, should the canonical point to the first page?

No. According to Google's pagination recommendation, each page should point to its own URL as canonical. Canonicalising the second and later pages to the first page makes it harder for the products on those pages to be discovered.

Can robots.txt be edited in Shopify?

Yes. Shopify generates a default robots.txt; you can add or remove rules with the robots.txt.liquid template in your theme. The default file already blocks cart, checkout, internal search and sort URLs; read the file's current version before making changes.

Related guides and tools