Menu
Feedback
Start here
Tutorials


Tutorials
Headless CMS
Configuring SEO via Headless CMS
3 min read

SEO (Search Engine Optimization) is one of the most important strategies to better position your site on organic search engine results pages.

In stores developed with FastStore, you can manage SEO settings through the Headless CMS.

For stores developed with Store Framework, see Configuring SEO in your Store Framework store.

Instructions

  1. In the VTEX Admin, go to Storefront > Headless CMS.
  2. Click the desired page.

This setting is available for the following content types: Product Detail Page (PDP), ** home**, and landing page.

  1. Switch to the Settings tab.
  2. Go to SEO and update the related fields. See the list of fields by content type in SEO fields by content type.
  3. Click Save to apply the changes.

SEO fields by content type

Product Details Page (PDP)

On Product Details Page (PDP) pages, the following fields are available for SEO configuration:

FieldDescriptionExample
IDUnique identifier representing a specific product page. This is essential for search engines to recognize and differentiate each PDP on your website, avoiding ambiguity and helping ensure each product page is indexed separately.
It receives a descriptive value that will be concatenated to the product path.
• Descriptive value: #product
• Result: product-slug/p#product
Main entity of pageUnique identifier representing the most relevant element on a product page. It receives a descriptive value that will be concatenated to the product path.• Descriptive value: #webpage
• Result: product-slug/p#webpage

Home

On Home pages, the following fields are available for SEO configuration:

FieldDescriptionExample
PathURL path where the homepage will be accessible on the site./homepage
Default page titleInvoice displayed on the browser tab and used by search engines. It should be relevant to the homepage content.My Store
Meta tag descriptionA summarized description of the page, displayed by search engines in search results.Discover the best deals on electronics
Canonical URL for the pageThe canonical URL used by search engines to help identify the main version of the page, avoiding duplicate content issues.https://www.mystore.com
NameSite name.My Store
Publisher IDUnique identifier for the content publisher on the page. This can be a descriptive fragment appended to the homepage or a full URL.• Descriptive value: #organization
• Complete URL: https://www.mystore.com/publisher

Landing Page

On Landing Page type pages, the following fields are available for SEO setup:

FieldDescriptionExample
PathURL path where the landing page will be accessible on the site./landing-page-slug
Default page titleTitle displayed on the browser tab and used by search engines. It should be relevant to the homepage content.FastStore Landing Page
Meta tag descriptionA summarized description of the page, displayed by search engines in search results.Landing page description
Canonical URL for the pageThe canonical URL used by search engines to help identify the main version of the page, avoiding duplicate content issues.https://www.mystore.com
Contributors
1
Photo of the contributor
+ 1 contributors
Was this helpful?
Yes
No
Suggest Edits (GitHub)
Store Settings Overview
« Previous
Headless CMS - Overview
Next »
Contributors
1
Photo of the contributor
+ 1 contributors
On this page
Still got questions?
Ask the community
Find solutions and share ideas in the VTEX Community
Join our community
Request VTEX support
For personalized assistance, contact our experts
Open a support ticket
GitHubDeveloper PortalCommunityFeedback