Translations:Manual:GenerateSitemap.php/30/en

However the default setting is not to skip redirects.