# Each page is a folder in the path?

**URL:** <https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836>\
**Category:** Elements\
**Created:** [May 30, 2025, 1:33pm UTC](https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836 "2025-05-30T13:33:50Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![numericcitizen](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/numericcitizen/32/26930_2.png) [@numericcitizen](https://forums.realmacsoftware.com/u/numericcitizen)\
**Post date:** [May 30, 2025, 1:33pm UTC](https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836/1 "2025-05-30T13:33:50Z")

</div>

When creating a page in my website, I noticed that each page is part of the URL path + the filename. So if the Page “Goals” is created and the filename is goals.html, I get [https://mywebsite/goals/goals.html](https://mywebsite/goals/goals.html) which seems redundant… How can I make my page at the root of the website?

---

<div class="post-metadata">

**Author:** ![jenkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jenkman/32/5003_2.png) [@jenkman](https://forums.realmacsoftware.com/u/jenkman)\
**Post date:** [May 30, 2025, 2:27pm UTC](https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836/2 "2025-05-30T14:27:55Z")

</div>

Page name should always be index.html (php if required)

---

<div class="post-metadata">

**Author:** ![jenkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/jenkman/32/5003_2.png) [@jenkman](https://forums.realmacsoftware.com/u/jenkman)\
**Post date:** [May 30, 2025, 2:28pm UTC](https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836/3 "2025-05-30T14:28:30Z")

</div>

The home page is the only root level page.

---

<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:** [May 30, 2025, 2:39pm UTC](https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836/4 "2025-05-30T14:39:52Z")

</div>

> [@numericcitizen](#):
>
> When creating a page in my website, I noticed that each page is part of the URL path + the filename. So if the Page “Goals” is created and the filename is goals.html, I get [https://mywebsite/goals/goals.html](https://mywebsite/goals/goals.html) which seems redundant… How can I make my page at the root of the website?

What you want to do is ensure the page filename inside all folders is “index.html”, that way you get clean URLs.

Change this:  
`https://mywebsite/goals/goals.html`

to this:  
`https://mywebsite/goals/index.html`

Then in the browser the URL will be clean and look like this: `https://mywebsite/goals/`

Hope that makes sense!

---

<div class="post-metadata">

**Author:** ![numericcitizen](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/numericcitizen/32/26930_2.png) [@numericcitizen](https://forums.realmacsoftware.com/u/numericcitizen)\
**Post date:** [May 30, 2025, 4:00pm UTC](https://forums.realmacsoftware.com/t/each-page-is-a-folder-in-the-path/47836/5 "2025-05-30T16:00:38Z")

</div>

It does, thanks!
