twitter facebook dribbble email

.html extension in WordPress

Careful! This post is looking a little old and could be inaccurate in many, many ways

As i’ve been working through a new site build that integrates a WordPress blog I’ve hit across an interesting problem.

Although through WordPress’ permalinks settings you are fully capable of giving a post a .html extension it seems impossible to do the same with pages. This seems a little odd, I tried a couple of things, such as changing the page permalink that it allows you to do, but when you add the .html WordPress removes the dot and leaves you with pagehtml rather than page.html.

Luckily if I enter .html into a browser it will redirect, however this leaves inconsistent url’s through the site. If the system can handle .html for a post, why not a page?