Learn how to manage your sitemap.xml and robots.txt when adding new routes to your application.
sitemap.xml
and robots.txt
file for your application. This will help search engines like Google to index your site and improve your SEO.
(protected)
, won’t be added to the sitemap. This is useful for pages that require authentication.postbuild
script in your which is called from your build
script in package.json
.
For some hosting providers, you might need to run the postbuild
seperately.