-
Notifications
You must be signed in to change notification settings - Fork 72
Add XML sitemap for SEO #359
Copy link
Copy link
Labels
enhancementUpdates that improve or refine existing features, user experience, or system performance.Updates that improve or refine existing features, user experience, or system performance.local setupImprovements or additions to the local setupImprovements or additions to the local setup
Description
Activity
Metadata
Metadata
Assignees
Labels
enhancementUpdates that improve or refine existing features, user experience, or system performance.Updates that improve or refine existing features, user experience, or system performance.local setupImprovements or additions to the local setupImprovements or additions to the local setup
Problem
The site has no XML sitemap at
/sitemap.xml. Currently this URL returns a 404 on Cloudflare Pages.Search engines use sitemaps to discover and index pages. Without one, we rely entirely on crawling through internal links.
Proposed Solution
Create a Cloudflare Function (similar to the existing
robots.txtimplementation) that dynamically generates a sitemap from all published pages.Alternatively, generate a static
sitemap.xmlduring the build process.References