# Change page extension

**URL:** <https://forums.realmacsoftware.com/t/change-page-extension/45371>\
**Category:** RapidWeaver Classic\
**Created:** [November 22, 2024, 5:18am UTC](https://forums.realmacsoftware.com/t/change-page-extension/45371 "2024-11-22T05:18:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bartje](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/bartje/32/1210_2.png) [@Bartje](https://forums.realmacsoftware.com/u/Bartje)\
**Post date:** [November 22, 2024, 5:18am UTC](https://forums.realmacsoftware.com/t/change-page-extension/45371/1 "2024-11-22T05:18:57Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Heroic\_Nonsense](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/heroic_nonsense/32/20666_2.png) [@Heroic\_Nonsense](https://forums.realmacsoftware.com/u/Heroic_Nonsense)\
**Post date:** [November 22, 2024, 9:29am UTC](https://forums.realmacsoftware.com/t/change-page-extension/45371/2 "2024-11-22T09:29:31Z")

</div>

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
