Skip to content

TYPO3 Extension /sitemap.xml will show all language sitemaps

Notifications You must be signed in to change notification settings

andersundsehr/root-sitemap

Repository files navigation

TYPO3 EXT:root_sitemap

composer req andersundsehr/root-sitemap

What dose this Extension do?

if you have your languages like this: /en/ and this: /de/
and not a single language configured like this: /
Than this Extension is for you.

It adds the endpoint /sitemap.xml to all your Sites.
This sitemap includes all active language sitemaps like: /en/?type=1533906435 and /de/?type=1533906435.

You do not need to configure anything.

Additional sitemaps form e.g. other systems:

if you want to add additional sitemaps from e.g. external Systems like a Shop system:
you can add them in the Sites Configuration: Screenshot of sites configuration addition

I want nicer URLS:

you can configure a routeEnhancer like this:
file: config/sites/.../config.yaml

routeEnhancers:
  PageTypeSuffix:
    type: PageType
    # if you want to have trailing slashes for all pages:
    default: '/'
    index: ''
    map:
      /: 0
      sitemap.xml: 1533906435

with ♥️ from anders und sehr GmbH

If something did not work 😮
or you appreciate this Extension 🥰 let us know.

We are hiring https://www.andersundsehr.com/karriere/