I have my website with its sitemap submitted to the Google Search Console, the whole shebang. Unfortunately, my indexing isn't going so well. I've narrowed down the problem to make my URL cleaner. I've added a little bit of code in my .htaccess
file. So instead of having an URL like https://example.com/contact.html
you'd get https://example.com/contact
. The problem is, now my sitemap thinks it's two separate URLs, which makes the Search Console think there are duplicates.
My question thus is: which URL should I remove from my sitemap? Technically, the https://example.com/contact
is the one "in use" but since the other one is the "real" URL, I'm worried it could cause problems if I remove it.