composer req andersundsehr/root-sitemap
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.
if you want to add additional sitemaps from e.g. external Systems like a Shop system:
you can add them in the Sites Configuration:
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
If something did not work 😮
or you appreciate this Extension 🥰 let us know.
We are hiring https://www.andersundsehr.com/karriere/