Search Engine Optimization
XML sitemap
An XML sitemap is a machine-readable file that lists the pages on a website so search engines can find and crawl them, even pages that are not well linked from elsewhere.
Sitemaps are usually found at an address like example.com/sitemap.xml or sitemap-index.xml, and are referenced from the site's robots.txt file. They can also be submitted directly in Google Search Console.
A sitemap does not guarantee a page will be indexed, but it removes one common reason a new page goes unnoticed. Sites built with a modern framework can generate the sitemap automatically on every build, so it never falls out of date.