# Change all extensions together

**URL:** <https://forums.realmacsoftware.com/t/change-all-extensions-together/50937>\
**Category:** RapidWeaver Classic\
**Created:** [September 11, 2025, 3:47pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937 "2025-09-11T15:47:01Z")\
**Posts on this page:** 6\
**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:** [September 11, 2025, 3:47pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937/1 "2025-09-11T15:47:01Z")

</div>

To temporarily check to see if PHP is my problem, I want to upload a version without the hit Counter where all pages are HTML instead of PHP.

Can this be done all at once? Or do I have to change all 490 pages individually?

---

<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:** [September 11, 2025, 4:26pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937/2 "2025-09-11T16:26:32Z")

</div>

You only need to change one page extension to find out if the Hit Counter is your issue. There’s no need to change all 490 (wow!) pages.

---

<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:** [September 11, 2025, 5:03pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937/3 "2025-09-11T17:03:44Z")

</div>

changing the home page to index.html lets it load (with errors in the counter), but the rest of the pages doné load. So back to the original question: Any way to change all at once?

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [September 11, 2025, 5:08pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937/4 "2025-09-11T17:08:32Z")

</div>

> [@RichardLW](#):
>
> So back to the original question: Any way to change all at once?

 ![Bildschirmfoto 2025-09-11 um 19.06.37](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/a/b/ab61bad1cb0c55016ae536b19958eae2abf109a1.png)

Afterwards, publish all the files. You should now have both an **index.html** and an **index.php** on the server.

“add the following to your **.htaccess** file:

```auto
DirectoryIndex index.html index.php

```

This ensures that the server will first use **index.html** and then **index.php** , if both are present on your server.” That way, you don’t have to delete all your index.php files.

---

<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:** [September 11, 2025, 5:23pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937/5 "2025-09-11T17:23:01Z")

</div>

> [@RichardLW](#):
>
> So back to the original question: Any way to change all at once?

I’m sorry to say there isn’t. Might it be a better idea to stick with the PHP extension and remove the counter stack instead?

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [September 11, 2025, 5:34pm UTC](https://forums.realmacsoftware.com/t/change-all-extensions-together/50937/6 "2025-09-11T17:34:41Z")

</div>

@dan Oh, I always thought that if you change the PHP extension to HTML under Advanced / Default Extensions, it would apply to all pages. But that’s not the case at all…

Sorry, my mistake. @RichardLW
