{"section":"tutorials","requestedLocale":"en","requestedSlug":"configuring-seo-via-headless-cms","locale":"en","slug":"configuring-seo-via-headless-cms","path":"docs/en/tutorials/storefront/headless-cms/configuring-seo-via-headless-cms.md","branch":"main","content":"SEO (Search Engine Optimization) is one of the most important strategies to better position your site on organic search engine results pages.\n\nIn stores developed with [FastStore](https://developers.vtex.com/docs/guides/faststore), you can manage SEO settings through the [Headless CMS](/en/docs/tutorials/headless-cms-overview).\n\n> ℹ️ For stores developed with Store Framework, see [Configuring SEO in your Store Framework store](/en/tutorial/configurando-seo-em-sua-loja--1skskesjusvghyqm8oknvr).\n\n## Instructions\n\n1. In the VTEX Admin, go to **Storefront > Headless CMS**.\n2. Click the desired page.\n\n  > ℹ️ This setting is available for the following [content types](https://developers.vtex.com/docs/guides/faststore/headless-cms-3-adding-content-types-and-sections): **Product Detail Page (PDP)**, ** home**, and **landing page**.\n\n3. Switch to the **Settings** tab.\n4. Go to **SEO** and update the related fields. See the list of fields by content type in [SEO fields by content type](#seo-fields-by-content-type).\n5. Click `Save` to apply the changes.\n\n### SEO fields by content type\n\n#### Product Details Page (PDP)\n\nOn **Product Details Page (PDP)** pages, the following fields are available for SEO configuration:\n\n| Field | Description | Example |\n| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |\n| ID                        | Unique 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.<br />It receives a descriptive value that will be concatenated to the product path. | • Descriptive value: `#product`<br />• Result: `product-slug/p#product` |\n| Main entity of page | Unique 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`<br />• Result: `product-slug/p#webpage` |\n\n#### Home\n\nOn **Home** pages, the following fields are available for SEO configuration:\n\n| Field | Description | Example |\n| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |\n| Path                        | URL path where the homepage will be accessible on the site. | `/homepage` |\n| Default page title | Invoice displayed on the browser tab and used by search engines. It should be relevant to the homepage content. | My Store |\n| Meta tag description | A summarized description of the page, displayed by search engines in search results. | Discover the best deals on electronics |\n| Canonical URL for the page | The canonical URL used by search engines to help identify the main version of the page, avoiding duplicate content issues. | `https://www.mystore.com` |\n| Name | Site name. | My Store |\n| Publisher ID | Unique 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`<br />  • Complete URL: `https://www.mystore.com/publisher` |\n\n#### Landing Page\n\nOn **Landing Page** type pages, the following fields are available for SEO setup:\n\n| Field | Description | Example |\n| ---------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------- |\n| Path | URL path where the landing page will be accessible on the site. | `/landing-page-slug` |\n| Default page title | Title displayed on the browser tab and used by search engines. It should be relevant to the homepage content. | FastStore Landing Page |\n| Meta tag description | A summarized description of the page, displayed by search engines in search results. | Landing page description |\n| Canonical URL for the page | The canonical URL used by search engines to help identify the main version of the page, avoiding duplicate content issues. | `https://www.mystore.com` |"}