SEO
Configuring SEO for Product Listing Pages (PLPs)
Configuring SEO settings for Product Listing Pages (PLPs) is essential for improving search engine visibility and discoverability. This guide walks you through setting up title and description templates for PLPs and provides best practices for optimizing SEO performance.
SEO metadata for PLPs
FastStore follows a structured approach to generating SEO metadata for PLPs, prioritizing available catalog data before falling back to predefined templates in
discovery.config.js
file.Title
Title template
Description template
Instructions
- Open your FastStore project in a code editor of your preference.
- Go to the
discovey.config.js
file and in theseo
section add the following:
_10..._10seo: {_10 ..._10 plp: {_10 titleTemplate: '%s | FastStore PLP',_10 descriptionTemplate: '%s products on FastStore Product Listing Page',_10 },_10},
Change the values intitleTemplate
anddescriptionTemplate
according to your needs. Use%s
as a placeholder for the PLP title/name.
- Title template: This template will be applied to all PLPs, including collections, categories, subcategories, and brands.
- Description template: This template is used for
collections
, as descriptions forcollections
are not configured in the Catalog. If a specific description isn't configured in the Catalog for a category, subcategory, or brand, this template will be used as a fallback.
Lazy loading and SEO considerations
FastStore uses lazy loading to improve performance. However, certain custom sections, such as those containing H1 headers, may need to appear in the initial HTML for SEO purposes, as search engine crawlers may not index dynamically loaded content. To optimize SEO for PLPs, see the Optimizing SEO by managing Lazy Loading on Product Listing Pages (PLPs) guide.