DocumentationπŸ” SEOSitemap and Robots

Sitemap and Robots

The kit comes with scripts to generate the sitemap and robots.txt files. Here is how you can update them.

  1. Run the local server npm run dev
  2. Run the script npm run generate:sitemap-robots

This will generate the sitemap.xml and robots.txt files in the public directory. Commit the changes to the repository and deploy it!


MIT 2024 Β© Nextra.