SEO

Deployment

Sitemap

Sitemaps facilitate efficient communication with search engines like Google by providing details about your website's URLs and update frequency.

NextSaaS automatically generates a sitemap at build time via /app/sitemap.ts, encompassing main routes, legal routes, blog posts, and help center articles.

For more details, refer to the official sitemap Next.js documentation.

💡

Remember to update the publishedAt prop in /config/site.ts to reflect content modifications.

robots.txt

A robots.txt file instructs search engine crawlers on which pages or files they can request from your site.

NextSaaS automatically generates this file via /app/robots.ts, utilizing the sitemap for guidance. For more details, refer to the official robots.txt Next.js documentation.