digitalfabrik/integreat-cms

halloaschaffenburg sitemap only contains integreat regions

Closed this issue · 1 comments

Describe the Bug

The sitemap of halloaschaffenburg currently only contains Integreat regions.
I'm not sure if that's actually inteded, but having a sitemap can help search engines to look at the right places.
Because hallo is a hidden region it is not even part of the sitemap (of it's own domain).
If this behavior is inteded, then feel free to close this issue.
Also, there should be no sitemap at https://halloaschaffenburg.de/augsburg/de/sitemap but there is.

Steps to Reproduce

  1. Go to https://halloaschaffenburg.de/sitemap.xml
  2. See only integreat cities

Expected Behavior

The index sitemap only contains hallo as subdomain.
Only one (sub) sitemap for the region hallo is served under https://halloaschaffenburg.de/hallo/de/sitemap.xml.

Actual Behavior

The index sitemap only contains integreat urls.
There are sitemaps served for every integreat subdomain.

I don't think this is something we should hardcode in the CMS source code, I'd rather consider this an infra ticket.
E.g. to remove the sitemap from https://halloaschaffenburg.de/hallo/de/sitemap.xml, we should just merge https://git.tuerantuer.org/DF/salt/pulls/126.
And to make the sitemap only contain aschaffenburg and nothing else, we have to move aschaffenburg to its own CMS server, see https://openproject.tuerantuer.org/projects/infra/work_packages/2605/activity.