I have a static HTML website with less than 100 pages and 99 of them are indexed in Google's search engine. I want to convert it into a WordPress website, but there are some problems I'm worried about.
My HTML website pages have an
.html extension at the end of them and they're indexed with that extension, so converting those pages (even with the same content) to a WordPress page without any extension causes my whole website to be removed from Google's search.
I'm going to need to make sure that the
.html extension is removed from URLs that already have just an
.html extension. I want to do this using a .htaccess file. I found the following code, but it doesn't work: