Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.
Set up sitemap XML
In order to make your booking objects available in a sitemap.xml, carry out the following steps:
Install EXT: seo (if you haven't already done so) and add the static TypoScript template XML Sitemap to your root template.
Configure the route enhancer for the
sitemap.xml
URL extension:RouteEnhancers: PageTypeSuffix: map: sitemap.xml: 1533906435
Apply the static TypoScript template Bookings - Sitemap.xml configuration to your root template.
Make sure that the
{$themes.configuration.pages.bookings.details}
TypoScript constant is set and pointing to your details page.Make sure that the
{$themes.configuration.container.bookings}
TypoScript constant is set and points to your data container.Configure
robots.txt
via your site configuration. A simple configuration looks as follows:User-agent: * Disallow: /typo3/ Disallow: /typo3_src/ Allow: /typo3/sysext/frontend/Resources/Public/*
In your site configuration
routes: - route: robots.txt type: staticText content: "User-agent: *\r\nDisallow: /typo3/\r\nDisallow: /typo3_src/\r\nAllow: /typo3/sysext/frontend/Resources/Public/*\r\n"
At the bottom of this file add the Bookings Sitemap.xml with the following line:
Sitemap: https: //bookings.typo3-demos.de/sitemap.xml? Sitemap = bookings
All done: your sitemap.xml with booking objects should be available at https://bookings.typo3-demos.de/sitemap.xml?sitemap=bookings.