TYPO3 has an extension called seo that makes it really simple to create an XML sitemap that you can use to submit to Google for crawling your web site.

All I had to do to get a site map was to:

  1. make sure the seo extension was installed
  2. include the XML Sitemap (seo) static template in your main template

That's it. Once you do that you'll find that an XML sitemap has been created for you at https://yourdomain.com/?type=1533906435

Further customization

If you'd like to make a sitemap that includes links to pages created by extensions, or if you'd like to omit certain pages or use SQL statements to choose what is included or excluded from your site map, you can learn about how to do that at the documentation. There are a lot of tweaks you can make.