Loading...
Skip navigation

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
RCT_________2GU______
6_K____8____P_D___7SC
9_I___EDI___R_I______
O_U____D____R_9___KYC
ZYP_________WQH______