TechnicalSEO & Discovery
How to implement and verify sitemap.xml
Create a real `sitemap.xml` file in your published output, often by putting it in `/public` or generating it during your build. Include lastmod and priority tags, submit the sitemap URL to Google Search Console, and verify it by visiting `yourdomain.com/sitemap.xml` to confirm it returns valid XML. On Lovable custom domains, `/sitemap.xml` is served from deployed files, so `public/_redirects` cannot proxy that path to an external backend or function URL.
