# The CMS is giving me a headache!

**URL:** <https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120>\
**Category:** Elements CMS\
**Created:** [August 23, 2025, 10:02pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120 "2025-08-23T22:02:58Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [August 23, 2025, 10:02pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120/1 "2025-08-23T22:02:58Z")

</div>

@ben I have a blog that I set up on one of my sites ([mairfoils.com](http://mairfoils.com)) that works perfectly. I needed to duplicate this blog on a sister site, so I dutifully copied everything, including all the MD files and images, to the other site.

The listing for the blog works perfectly, but no matter what I try, I cannot get the individual post page to work; it always displays the mess shown below.

I cannot understand what could be going wrong. I have checked everything and made sure all the files are present, but it just won’t work. I even tried a few restarts with no luck.

 ![CleanShot 2025-08-23 at 11.56.11@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/2/d/2ddc6232bb41e97407bd5704dbbfabd9afa7a472.png)

Why would this not work, when it works perfectly on another site and in my testbed?

I’m sure there is probably some simple step that is missing that did not make it over from the other site, but what it might be escapes me.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 23, 2025, 10:15pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120/2 "2025-08-23T22:15:52Z")

</div>

Can you check you’ve changed the page file extension to .php?

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [August 23, 2025, 11:57pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120/3 "2025-08-23T23:57:07Z")

</div>

Ha, I was out working in my shop when I suddenly had a flash, “Did you change the file extension?”, so I came in, and of course I had not changed it, and of course after changing now it works.

From now on, any project I create that is going to use the CMS (which would be every one), I’m going to set the default to “php” for all extensions.

Sorry about that.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [August 24, 2025, 2:02pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120/4 "2025-08-24T14:02:41Z")

</div>

haha, I’m just glad it was a simple fix 😉

You can set a default page extension in the app, this will apply to all projects and be used whenever a new page is created 🙂

 ![CleanShot 2025-08-24 at 3 .01.32@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/d/6/d6aead9a2faadbb245d4a8dc4c2d4bb522cf9ed5.jpeg)

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [August 24, 2025, 6:25pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120/5 "2025-08-24T18:25:02Z")

</div>

Yes, I have done that now.

Although interestingly, I had done it before I started on this project, but when I created this page, it did not use it. So somehow it got unset when I upgraded to the latest version.

---

<div class="post-metadata">

**Author:** ![handshaper](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/handshaper/32/27373_2.png) [@handshaper](https://forums.realmacsoftware.com/u/handshaper)\
**Post date:** [August 24, 2025, 11:27pm UTC](https://forums.realmacsoftware.com/t/the-cms-is-giving-me-a-headache/50120/6 "2025-08-24T23:27:12Z")

</div>

@dan I’d like to report that setting the default to PHP does not appear to persist across projects all the time.

I had to add support for the CMS to another project today, so I figured I’d make sure I did not get caught again. Changed the default to PHP before quitting. When I started back up and created the necessary page in the project, it came up as HTML, not PHP.

I did a couple more restarts, and now it seems to be sticking. Before, I would open up Elements, and it would still say HTML as the default.
