---
title: "Routing"
manual: "Static File Cache"
version: "16.2"
source: "Configuration/Routing.rst"
rendered: "2026-10-12T19:46:25+00:00"
---

# Routing {#routing}

Since TYPO3 there is a modern routing mechanims. Please use this to create real/speaking urls.

It is also possible to handle e.g. the XML sitemp. This is the example configuration for a /sitemap.xml incl. sub sitemaps without cHash to get this sitemaps to the StaticFileCache:

```nginx
routeEnhancers:
  PageTypeSuffix:
    type: PageType
    default: .html
    index: index
    map:
      sitemap.xml: '1533906435'
  SitemapNames:
    type: Simple
    routePath: '/s/{sitemap}'
    requirements:
      sitemap: '.*'
    _arguments:
      sitemap: 'sitemap'
    aspects:
      sitemap:
        type: StaticValueMapper
        map:
          pages: 'pages'
          news: 'news'
          xxxx: 'xxxxx'
  SitemapNamesPage:
    type: Simple
    routePath: '/s/{sitemap}/{page}'
    requirements:
      sitemap: '.*'
      page: '\d+'
    _arguments:
      sitemap: 'sitemap'
      page: page
    aspects:
      sitemap:
        type: StaticValueMapper
        map:
          pages: 'pages'
          news: 'news'
          xxxx: 'xxxxx'
      page:
        type: StaticRangeMapper
        start: '1'
        end: '100'
```
