Loading...
Skip navigation
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:

  1. Install EXT: seo (if you haven't already done so) and add the static TypoScript template XML Sitemap to your root template.

  2. Configure the route enhancer for the sitemap.xmlURL extension:

     RouteEnhancers:
       PageTypeSuffix:
         map:
           sitemap.xml: 1533906435
  3. Apply the static TypoScript template Bookings - Sitemap.xml configuration to your root template.

  4. Make sure that the {$themes.configuration.pages.bookings.details}TypoScript constant is set and pointing to your details page.

  5. Make sure that the {$themes.configuration.container.bookings}TypoScript constant is set and points to your data container.

  6. 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"
  7. 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

  8. All done: your sitemap.xml with booking objects should be available at https://bookings.typo3-demos.de/sitemap.xml?sitemap=bookings.

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
BUQ_________RW7______
__1____G____X_____K1I
__R___8X3___Q6B______
__P____8____F_Q___Y73
__T_________1CC______