Add 301 Redirected URLs to sitemap?
« on: January 21, 2021, 12:16:43 PM »
Hi

I'm in the process of changing a lot of .htm filenames on my website to .php ones. The .htm files are still referenced in the web pages, but when you click them you end up at a .php page via a 301 Redirect. Although I will be changing the web pages to point directly to the .php files in time, I'd like the xmlsitemap to list the 301 redirected pages in the meantime. I see it is crawling the pages but then ignoring them. Is there a way to temporarily configure the crawler to add these URLs (preferably the new .php URL versions) to the sitemap?

thanks very much.