Change page extension

I have to republish an old page that had a html extension. I recreated the page but it gets a php extension automatically every time I want to give it a html extension.

How can I make it a html page?

Hi Bart,

If the PHP extension gets applied automagically, that means there must be something on the page written in PHP.

Do you use Stacks? If so, check if there’s a stack on the page that requires PHP.

If all else fails, and you’re not wiling to change the links to the index.html version in the navigation (which would be the preferred soliution by the way), you can just publish both, and add rules to the .htaccess file so that the PHP version loads when somone navigates to the html version.

Cheers,
Erwin

1 Like