Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My test Drupal install is at test.sitename.com and my production install is at sitename.com
I update the test install then move everything over to production. This means that after an update the production sitemap still is set to the default base URL of the test system.
In this scenario, should I just leave my test xmlsitemap default base URL set to the production URL?
Otherwise, is there an alternative to having to reset the default base URL each time I move my test system over to production? Thanks.
Comments
Comment #1
Dave ReidI think it's fine if you just set the base URL option to your production base URL when in development. One less setting to change.