Check 20.01 · E-commerce SEO

Optimize categories and subcategories

Turn each category into a page that ranks: title, H1, helpful text, links to every product and pagination, on WooCommerce, Shopify, PrestaShop or Magento.

Priority
Critical
Difficulty
Intermediate
Estimated time
2 h per template, then 30 min per category
Free, no account: your progress is saved in this browser.

Ask an AI to check this point on your site

Opens the assistant with a ready-made question: this check, its goal and your site URL.

For Gemini, Copilot or another assistant, copy the question. The link opens the chosen service directly: nothing goes through this site.

In short

Category and subcategory pages carry a store's generic queries (“loose-leaf green tea”, “cast iron teapot”) and act as the entry point to product pages. Optimizing them means giving them a title and an H1 that say what they offer, a short text that helps people choose, HTML links to every product and subcategory, and crawlable pagination. Once the task is done, each indexable category targets a distinct intent and nothing stands between it and any product it contains.

Why it matters

Google explains that it uses links to understand the structure of a store: from the menu to the categories, from the categories to the subcategories, then to the product pages. It recommends linking from the categories to every product you want indexed, because Googlebot does not fill in the internal search box: a product reachable only through search may never be discovered.

Categories are also the pages that best answer a broad query. Someone searching for “loose-leaf green tea” wants to see a selection, not a single item. If the category shows nothing but a grid of images with no text and a generic title (“Green tea – Shop”), it has little to offer against competitors who explain the difference between sencha, genmaicha and matcha.

On the generative engine side, a question such as “which green tea should a beginner choose?” calls for selection criteria. A category that gives them in text (flavor, caffeine, preparation method, price range) offers material that can be reused or cited, with no guarantee.

What breaks without this task: orphan products, duplicate categories fighting over the same query, pages 2 and beyond out of reach, or, at the other extreme, thousands of sort and filter URLs indexed instead of the categories.

What it improves

  • Product discovery Each product page receives at least one HTML link from its category.
  • Rankings for generic queries Title, H1 and text aligned with the category's intent.
  • Click-through rate A precise title (“Loose-leaf green tea: sencha, matcha, genmaicha”) draws more clicks than a department name.
  • Navigation and conversion Visible subcategories, selection criteria, useful filters.
  • Generative engines Selection criteria and price ranges readable as text. A possible effect, not guaranteed.
  • Crawl budget An indirect effect, once sort and facet URLs are under control.

How to check

For each strategic category, check seven points:

Point Compliant
Title Unique, describes the offer, not just the department name
H1 Present, consistent with the title
Introduction text Two to four useful sentences, visible without scrolling
Product links <a href> tags to the canonical URL of each product page
Subcategories Linked from the parent category
Pagination Clean URLs (?page=2), self-referencing canonical, links to the next page
Sorting and filters No indexable sort URLs

Quick commands on a category:

curl -s https://example.com/thes/the-vert/ | grep -o -i -E "<title>[^<]*</title>|<h1[^>]*>[^<]*|rel=\"canonical\" href=\"[^\"]*\""
curl -s https://example.com/thes/the-vert/ | grep -o -E 'href="[^"]*/produits/[^"]*"' | sort -u | wc -l
curl -s "https://example.com/thes/the-vert/?page=2" | grep -o -E 'rel="canonical" href="[^"]*"'

The second command counts the links to product pages present in the HTML. If it returns zero while the page displays products, the grid is loaded with JavaScript: check the rendering with the URL Inspection tool in Search Console. The third must return the URL of page 2 itself, not that of page 1.

Across the whole site, a Screaming Frog crawl filtered on the category directory gives you, in one pass, duplicate titles, missing H1s, pages with a low word count and the depth of product pages. In Search Console, the Performance report filtered on category URLs shows the queries they already capture.

How to implement

Before you start

One category per intent. Start from the keyword-to-page map (opens in a new tab): each indexable category must carry a distinct query. Two categories targeting “organic green tea” and “organically grown green tea” cannibalize each other; a three-product category with no search demand has no place in the index (see avoid categories that add no value (opens in a new tab)).

Anatomy of a category:

Area Content Rule
Title Product type + useful detail + site brand Distinct from every other category
H1 Clear category name No stuffing of variants
Introduction 40 to 100 words: what the category contains, who it is for, how to choose Above the grid, short
Subcategories Text links or thumbnails with a link Every indexable subcategory
Product grid Name, price, availability, <a href> link to the product page Canonical URL of the product page
Help content Selection criteria, comparison table, links to guides Below the grid, useful, without repeating the keyword
Pagination Numbered links, ?page=n Each page canonical to itself

The lengths are industry benchmarks, not Google rules. The criterion is usefulness: a text that helps people choose is worth more than a 500-word block written to place variants of the keyword.

Introduction template, a fictional example for Thé des Lisières:

Our loose-leaf green teas come from Japan and China: sencha and gyokuro for lovers of vegetal notes, genmaicha for a mellow, toasty cup, matcha for whisk preparation. All are sold in resealable bags from 50 to 250 g. New to green tea? Start with a sencha, steeped for 2 minutes at 70 °C.

Pagination and sorting: follow control pagination and infinite scroll (opens in a new tab). Google asks for a distinct URL for each page and <a href> links to the next page, and advises against canonicalizing page 2 to page 1. Sort variants (?orderby=price) can receive a noindex or be blocked in robots.txt. Filters fall under the task control filters and facets (opens in a new tab).

Tip: a product can belong to several categories, but its page must have only one canonical URL. Check that the grid links point to that URL, not to a variant that includes the category path.

WordPress

Versions WordPress 6.8 and later, WooCommerce 10 and 11, Yoast SEO 20 and later or Rank Math 1.0, ACF 6.

With WooCommerce, open Products > Categories, then edit the category:

  • Name and Slug: the slug forms the URL, keep it short (optimize URLs and slugs (opens in a new tab)).
  • Parent category: creates the subcategory and the breadcrumbs.
  • Description: WooCommerce displays it above the products, only on the first page of the category. Write the introduction here.
  • Display type: “Both” shows subcategories and products; useful for a parent category.

The title and meta description are set in the SEO plugin (Yoast SEO or Rank Math), in the panel below the category description.

For help content below the grid, add a term field (for example with ACF) and display it after the product loop, in a child theme's functions.php:

add_action('woocommerce_after_shop_loop', function (): void {
    if (! is_product_category()) {
        return;
    }

    if (get_query_var('paged') > 1) {
        return;
    }

    $content = get_term_meta(get_queried_object_id(), 'contenu_aide', true);

    if (! $content) {
        return;
    }

    echo '<section class="category-guide">' . wp_kses_post(wpautop($content)) . '</section>';
}, 20);

Finally, check that your theme's pagination produces <a href> links (/page/2/): some themes replace it with a “Load more” button that has no link.

Shopify

Versions Shopify, all plans, Online Store 2.0 themes, November 2026.

Categories are collections: Products > Collections, then the collection.

  • Description: displayed by most themes in the collection banner. In Dawn, turn on the description display in Online Store > Themes > Customize, Collections template, banner section.
  • Search engine listing (bottom of the page): title, meta description and URL handle.
  • Subcategories: Shopify has no collection hierarchy. Build one with the menu (Content > Menus), collection thumbnails or links in the description.

Check the grid links in snippets/card-product.liquid: they must point to /products/handle. Older URLs such as /collections/the-vert/products/sencha carry a canonical to /products/sencha, but they multiply the URLs that get crawled.

For help content below the grid, create a collection metafield definition (Settings > Custom data > Collections, “Rich text” type), then add a “Rich text” section to the collection template and connect it to the metafield through a dynamic source.

PrestaShop

Versions PrestaShop 8 and 9.

Catalog > Categories, then “Edit”:

  • Description: displayed at the top of the category by the Classic theme.
  • Additional description (additional_description field): displayed by the Classic theme below the product list, on the first page only. Use it for the help content.
  • Meta title, Meta description, Friendly URL: in the same form.
  • Category cover image: displayed at the top of the category.

For a parent category, check that the theme does display the subcategories with a link. Clear the cache in Advanced Parameters > Performance after any change.

Magento

Versions Adobe Commerce and Magento Open Source 2.4.7 to 2.4.9.

Catalog > Categories, select the category:

  • Content > Description: the category text.
  • Display Settings: Display Mode (“Products only”, “Static block only”, “Static block and products”) and Anchor, which brings the products of subcategories up into the parent category.
  • Search Engine Optimization: URL Key, Meta Title, Meta Description.

For pagination, check the number of products per page in Stores > Configuration > Catalog > Catalog > Storefront. Reindex, then flush the cache (System > Cache Management).

Wix

Versions Wix dashboard, Wix Stores, November 2026.

In the Wix Stores dashboard, open Catalog > Categories, then the category: name, description, image. The title and meta description are set in the SEO settings of the category page (Edit SEO Settings). Check that the description is actually displayed by your site's category page template.

Webflow

Versions Webflow, CMS and Ecommerce site plans, November 2026.

Categories are a CMS collection (Categories) with a template page. In the template, bind the H1 to the Name field, add a rich text field for the introduction and a second one for the help content, and set the title and meta description with dynamic fields in Page settings > SEO settings. The product list must be a Collection List filtered on the current category, where each item is a link.

Laravel

Versions Laravel 11 to 13.

Build the category page around a Category model that carries its own editorial fields (seo_title, intro, guide). Controller and view:

public function show(Category $category): View
{
    $products = $category->products()
        ->where('is_active', true)
        ->orderBy('position')
        ->paginate(24);

    return view('categories.show', [
        'category' => $category,
        'children' => $category->children()->where('is_indexable', true)->get(),
        'products' => $products,
    ]);
}
@section('title', $category->seo_title ?? "{$category->name} | Thé des Lisières")

@push('head')
    <link rel="canonical" href="{{ $products->url($products->currentPage()) }}">
@endpush

<h1>{{ $category->name }}</h1>

@if($products->onFirstPage())
    {!! $category->intro_html !!}
@endif

<nav aria-label="Subcategories">
    @foreach($category->children as $child)
        <a href="{{ route('categories.show', $child) }}">{{ $child->name }}</a>
    @endforeach
</nav>

@foreach($products as $product)
    <a href="{{ route('products.show', $product) }}">{{ $product->name }}</a>
@endforeach

{{ $products->links() }}

Laravel's paginator produces crawlable ?page=n links. Remove the page=1 parameter from the canonical if your link to the first page contains it.

Next.js

Versions Next.js 15 and 16 (App Router).

With the App Router, generate the metadata and canonical of each page of the category:

// app/categories/[slug]/page.tsx
export async function generateMetadata({ params, searchParams }) {
  const { slug } = await params;
  const { page } = await searchParams;
  const category = await getCategory(slug);
  const pageNumber = Number(page ?? 1);
  const path = `/categories/${slug}/${pageNumber > 1 ? `?page=${pageNumber}` : ''}`;

  return {
    title: category.seoTitle,
    description: category.metaDescription,
    alternates: { canonical: path },
  };
}

Render the grid on the server with <Link href> components to the product pages, and the pagination with real ?page=n links, not a button that loads the rest with JavaScript without changing the URL.

Common mistakes

  • Category text written for the bot: a long block at the bottom of the page that repeats “cheap green tea” in every sentence. See eliminate keyword stuffing (opens in a new tab).
  • The same introduction on every paginated page or on several similar categories.
  • Pages 2 and beyond canonicalized to page 1: the products on those pages lose their crawl path.
  • A grid loaded only with JavaScript on scroll, with no link to the next items.
  • An empty or single-product category left indexable.
  • Grid links to non-canonical URLs (collection path, tracking parameters).
  • A title identical to the department name on every category (“Green tea | Shop”).

Frequently asked questions

Do e-commerce category pages need text?

Yes, a short, useful text helps category pages. A few sentences above the grid say what the category contains and how to choose; help content below the products can compare the options. Google sets no length. What matters is usefulness for the buyer: a long block written to repeat the keyword adds nothing and may count as keyword stuffing.

Can a category page rank better than a product page?

Yes, and it often does for generic queries. Someone searching for “cast iron teapot” wants to compare several models: a well-built category answers that intent better than a single product page. Product pages tend to capture precise queries, with a brand, a reference or a model. Match each query to the page whose intent fits, category or product page.

How should category pagination be handled for SEO?

Give each page of the category its own URL, for example with a page parameter, connect the pages with HTML links and leave each one canonical to itself. Google no longer uses rel next and prev tags and advises against canonicalizing page 2 to page 1. Paginated pages can share the same title. Keep the introduction text on the first page only.

Can a product be in several categories?

Yes, a product can appear in several categories if that helps the buyer. The condition is that its page keeps a single canonical URL, and that every category links to that URL rather than to a variant that includes the category path. Otherwise the same product exists at several addresses, which scatters crawling and signals across duplicates.

Updated on

Topic checklist (PDF)

And now?

In the “E-commerce SEO” topic

  1. Optimize categories and subcategories
  2. Optimize product pages with original descriptions
  3. Avoid duplicated manufacturer descriptions
  4. Display specifications, dimensions and materials
  5. Display compatibility information
  6. Display available SKU, GTIN or MPN
  7. Display brand, price and currency
  8. Display actual availability
  9. Display shipping costs and delivery times
  10. Display return policies and warranties
  11. Add authentic reviews and Q&A
  12. Add original images and size guides
  13. Publish buying guides and comparisons
  14. Suggest relevant complementary products
  15. Manage variants
  16. Manage temporarily out-of-stock products
  17. Manage permanently discontinued products
  18. Control indexing of facets and internal search
  19. Implement Product, ProductGroup and Offer
  20. Implement compatible shipping and return markup
  21. Set up Merchant Center and free listings
  22. Set up Microsoft Merchant Center if relevant
  23. Monitor feed errors
  24. Sync prices and stock across site, feeds and markup
  25. Check eligible AI shopping features
  26. Check marketplaces
  27. Test AI product recommendations