sitemap
The sitemap for a specific group in the robots.txt
file.
The sitemap provides information about the pages and content on a site, and the relationships between them, which helps crawlers crawl a site more efficiently.
Tip
To learn more about sitemaps, refer to Google's documentation.
The sitemap
object consists of a Sitemap
directive, and a value of the URL that the sitemap is hosted at. For example:
Sitemap: https://your-store.myshopify.com/sitemap.xml
Tip
You can customize the robots.txt
file with the robots.txt.liquid
template.
{
"directive": "Sitemap",
"value": "https://polinas-potent-potions.myshopify.com/sitemap.xml"
}
{
"directive": "Sitemap",
"value": "https://polinas-potent-potions.myshopify.com/sitemap.xml"
}
Was this section helpful?