This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

Flat URLs Build Status SensioLabs Insight Latest Stable Version Total Downloads Latest Unstable Version License

Flat URLs (like Stack Overflow) for TYPO3


This extension is installable from various sources:

  1. Via Composer:

     composer require pagemachine/typo3-flat-urls
  2. From the TYPO3 Extension Repository

  3. From Github


The purpose of this extension is to enforce so called "flat URLs" throughout the TYPO3 frontend. Thus instead of my/deeply/nested/page/ you will always get URLs like 10/page/ (thus page UID and title), no matter the actual page hierarchy managed in the backend.

Page translations will use the same UID as their original page but with translated titles. Thus you need to make sure that the language parameter (L) is part of the URL to avoid duplicate URLs with multiple translations.

The flat URLs are achieved using RealURL and a fully managed path segment for every page. Whenever the title of a page is changed, its path segment is updated accordingly.

Similar to Stack Overflow pages requested only by page UID will be redirected to their full URL. This means that e.g. redirects to


If you have existing pages when adding this extension or if you want to ensure a clean state you can run the flaturls:update CLI command. It will process all pages and page translations, generate the path segments and enforces them.