How to Add .html to the End of a WordPress URL
I have a site on another platform that I want to move to WordPress. One of my issues is that all the URLs end in .html, and I’d rather not change that. Keeping everything the same as much as possible reduces the chance of losing any SEO juice I’ve built up.
And so the challenge was to get WordPress URLs to end in .html.
It turns out the answer is very simple—just attach .html to the end of your custom permalink setting.
(Settings >> Permalinks >> Custom Structure)
NOTE: Typically a custom structure has a trailing / on the end like this:
You will want to remove that trailing slash, and just add .html, like this:
Photo: Html from BigStock