# File name changes from html to php when clicking the menu

**URL:** <https://forums.realmacsoftware.com/t/file-name-changes-from-html-to-php-when-clicking-the-menu/55523>\
**Category:** RapidWeaver Classic\
**Created:** [April 3, 2026, 8:17pm UTC](https://forums.realmacsoftware.com/t/file-name-changes-from-html-to-php-when-clicking-the-menu/55523 "2026-04-03T20:17:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![RichardLW](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RichardLW](https://forums.realmacsoftware.com/u/RichardLW)\
**Post date:** [April 3, 2026, 8:17pm UTC](https://forums.realmacsoftware.com/t/file-name-changes-from-html-to-php-when-clicking-the-menu/55523/1 "2026-04-03T20:17:57Z")

</div>

As best I remember, I removed all php elements a year ago. But I updated my site today after a month or so, and although the file name on the server and my hard drive is html, when you hit the menu for SOME of the pages, it changes to php, and of course returns a 404 error on some pages and an internal server error on others.

I have tried publishing several times.

---

<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:** [April 9, 2026, 1:55pm UTC](https://forums.realmacsoftware.com/t/file-name-changes-from-html-to-php-when-clicking-the-menu/55523/2 "2026-04-09T13:55:35Z")

</div>

Have you tried republishing **all files**? There might be old menu assets in there somewhere.

---

<div class="post-metadata">

**Author:** ![RichardLW](https://avatars.discourse-cdn.com/v4/letter/r/ad7895/32.png) [@RichardLW](https://forums.realmacsoftware.com/u/RichardLW)\
**Post date:** [April 9, 2026, 7:01pm UTC](https://forums.realmacsoftware.com/t/file-name-changes-from-html-to-php-when-clicking-the-menu/55523/3 "2026-04-09T19:01:29Z")

</div>

I had forgotten that once upon a time when I put some php in it, I had put redirects in the htaccess file. But I have no idea why the issue suddenly popped up after more than a year without it.
