Drupal module XML Sitemap generates wrong URL

If you move your Drupal site from one server to another it might happen that the URLs generated by the module XML Sitemap are wrong. This is also the case after clearing cache, running cron or regenerating the sitemap. Although it is not a bug, it is certainly a not well "thought trough" issue, because one would expect, that at least the running of cron or the regeneration of the XML sitemap should update the XML sitemap to the new URL. If the module can fetch the URL at the point of installation it should also be able to fetch it after a move. Anyway, the issue is very easy to resolve: Change the base_url on "Advanced settings" in admin/config/search/xmlsitemap/settings, clear the cache, run cron and you're done!

Drupal XML Sitemap
Taxonomy: 

Drupal themes to be compared