> For the complete documentation index, see [llms.txt](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://nghiaxchis.gitbook.io/ncmaz-nextjs-headless-cms-wordpres-blog-magazine/ncmaz-faust/sitemap-xml-robot.txt.md).

# Sitemap XML, robot.txt

1. Check that the **NEXT\_PUBLIC\_URL** environment variable is properly set to the URL of your frontend page
2. When the project is built, the sitemap.xml and robot.txt files will be automatically created in the public folder.
3. You can check your sitemap at the URL: `https://your_frontend_url/wordpress-sitemap.xml` or `https://your_frontend_url/sitemap.xml`
