{"section":"tutorials","requestedLocale":"en","requestedSlug":"how-to-define-the-url-for-a-product-page","locale":"en","slug":"how-to-define-the-url-for-a-product-page","path":"docs/en/tutorials/catalog/products-and-skus/how-to-define-the-url-for-a-product-page.md","branch":"main","content":"The URL of a product page is the electronic address that allows accessing this page on the Internet. Creating a friendly and optimized URL is crucial to make it easily findable by search engines and simplify your customer's experience on your ecommerce website.\n\nThe VTEX URL structure for a product page is composed of the store domain plus the value of the required **textLink** field when [adding a product](/en/docs/tutorials/adding-or-editing-products), plus `/p`, which stands for \"product.\" For example: If the textLink field for a given product is populated with `polo-shirt` in a store with the domain `storename.com`, the URL's final structure will be `storename.com/polo-shirt`.\n\nYou can change the **textLink** of existing products anytime in the VTEX Admin, under **Catalog > All products > Edit**. We recommend filling in the field **textLink** with the product's name, using only the main keywords related to it.\n\nCheck out the [Filling rules](#filling-rules) section to understand the restrictions on this field.\n\n> ℹ️ You can also change a product's page URL using the [Catalog API](https://developers.vtex.com/docs/api-reference/catalog-api#overview). In this case, you must change the field `LinkId`. See [Update Product](https://developers.vtex.com/vtex-rest-api/reference/catalog-api-put-product) for more information.\n\n## Filling rules\n\nFollow the rules below to fill in the **textLink** field:\n\n- Replace spaces with hyphens (`-`).\n- Use no more than 255 characters (preferably use up to 50).\n- Do not use special characters like `_ ! . * ' ( ) ; : @ & = + $ , / ? % # [ ] |` or accents such as `´ ¨ ^ ~`.\n- Do not use the following keywords since they are used for other features on the VTEX platform and may generate errors if applied to a product page's URL:\n    * `a`\n    * `meta`\n    * `api`\n    * `admin`\n\n> ❗ Please note that not complying with the rules listed above to complete the **textLink** field can affect your store's performance, lead to search issues, and interfere with the proper functioning of pages defined in the VTEX Admin.\n\n## Learn more\n\n- [How to add products](/en/docs/tutorials/adding-or-editing-products)\n- [Filling in product registration fields](/en/docs/tutorials/adding-or-editing-products)"}