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

Dave Reid’s picture

I 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.