cu-uis / cu-starterkit-project

Development repository for Pantheon's recommended (future) Drupal 9+ upstream
1 stars 2 forks source link

Feature - As a Site Builder, I want the sitemap.xml to reflect the current site instance so I can use it for testing #30

Open kreynen opened 2 years ago

kreynen commented 2 years ago

Is your feature request related to a problem? Please describe.

When testing an update on online-test, unless I manually update https://online-test.cu.edu/admin/config/search/xmlsitemap/settings before rebuilding https://online-test.cu.edu/sitemap.xml, the base URL in the sitemap will be online.cu.edu. This requires an additional step to test with Screaming Frog.

Describe the solution you'd like

Ideally the Default base URL would be inherited from the site instance and the sitemap.xml would be regenerated when the site is cloned to a new instance.

kreynen commented 2 years ago

https://www.drupal.org/project/xmlsitemap/issues/2832471 https://www.drupal.org/project/simple_sitemap/issues/3192836