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:

/%category%/%postname%/

You will want to remove that trailing slash, and just add .html, like this:

/%category%/%postname%.html

Featured Plugin - WordPress Ecommerce Shopping Cart Plugin

Out of all the WordPress ecommerce plugins available, MarketPress has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Photo: Html from BigStock