Converting wordpress ext to .html

DeadJoe

Elite Member
Joined
May 18, 2014
Messages
2,235
Reaction score
2,992
Hello,

I am using wordpress on a current website that I am building on an expired domain. The domain has quite a few backlinks from other websites pointing to some inner pages that have a ext of .html

I want to recreate those pages with my content but when I do so with wordpress I am unable to get the .html extension. Any way I can get wordpress to use .html extension?

Thanks
 
Wordpress requires PHP as part of the server so the file extension of any file will need to be .php

There are probably ways of getting around it using scripts/server side jobs/etc but these are not efficient and likely will cause your site to break easily.
 
you can use custom permarlinks settings in wordpress where you can add .php
 
In wordpress, seperate plugins also available for change permalinks (html)
 
Search plugins for ".html on pages"
I use that from time to time. Then you have to do what the above poster says, change structure. (Unless new wordpress you can do it without the plugin but before it would just go to whatever-html not .html.
 
Super easy. Just do what bignose said.. Alternatively, you can acheive this using htaccess but that's gonna create a lot of problems in the internal linking structure. Better go for %postname%.html
 
Back
Top