I recently had the dev team do an IIS rule to help with some duplicate content – all www are now non-www, the trailing / at the end of URLs is now gone, and we forced https.
Since the update, I thought my sitemap would update to the new structure but it hasn’t. Now SEMRush and ScreamingFrog are telling me I have all these sitemap errors because all the URLs are still http and have the slash at the end. So SEMRush is looking at these pages and seeing they’re redirected and throwing errors.
In the sitemap master template in Umbraco, I see a string that handles the URL formats so my question is: If I change the highlighted parts of the image below to HTTPS and remove the /, will that fix my problem?