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
T___________X________
D_T____F____G_P___2G6
C2Q___XDX___F4R______
__M____I______A___S88
__D___________Z______