# Confused about folder and filenames when creating subpages

**URL:** <https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080>\
**Category:** RapidWeaver Classic\
**Created:** [May 13, 2017, 3:43pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080 "2017-05-13T15:43:04Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![TEH](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teh/32/827_2.png) [@TEH](https://forums.realmacsoftware.com/u/TEH)\
**Post date:** [May 13, 2017, 3:43pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/1 "2017-05-13T15:43:04Z")

</div>

I believe it is recommended in RW for SEO purposes to leave the filename as index.php/index.html and create your URL in the folder field on the page inspector… all fine… but i’m a bit confused about how to create URLs for pages that are added to the website as subpages… say a ‘prints’ page with ‘landscape’ prints subpage and ‘animal’ prints subpage

Do we have the choice in the folder field on the page inspector when creating the URLs for these pages to either:-

OPTION 1: Create URLs for each page like this :  
Page 1: folder field: prints  
Page 2: folder field: landscape  
Page 3: folder field: animals

OR OPTION 2: Create URLs like this:  
Page 1: folder field: prints  
Page 2: folder field: /prints/landscape  
Page 3: folder field: /prints/animals

and is this choice independent of how the pages are added to the website project - i.e. can you only use option 2 if they are added to the project as subpages or is that irrelevant when naming URLs

Thanks  
Debbie

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [May 13, 2017, 3:55pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/2 "2017-05-13T15:55:09Z")

</div>

> [@TEH](#):
>
> OPTION 1: Create URLs for each page like this :  
> Page 1: folder field: prints  
> Page 2: folder field: landscape  
> Page 3: folder field: animals

That is the correct one. The folder structure will build itself hierarchically.

Never use the / slash character in the folder field. Actually that should be forbidden by RW automatically @simon.

---

<div class="post-metadata">

**Author:** ![devananda](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/devananda/32/13413_2.png) [@devananda](https://forums.realmacsoftware.com/u/devananda)\
**Post date:** [May 13, 2017, 4:38pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/3 "2017-05-13T16:38:32Z")

</div>

I think this is the best way to keep everything organized in your directory.

OPTION 2: Create URLs like this:  
Page 1: folder field: prints  
Page 2: folder field: /prints/landscape  
Page 3: folder field: /prints/animals

---

<div class="post-metadata">

**Author:** ![TEH](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teh/32/827_2.png) [@TEH](https://forums.realmacsoftware.com/u/TEH)\
**Post date:** [May 18, 2017, 1:56pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/4 "2017-05-18T13:56:30Z")

</div>

Hi there Jannis … can you give me more info on why the / shouldn’t be used in the folder field… in some cases this is recommended as per this recent tutorial

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [May 18, 2017, 3:22pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/5 "2017-05-18T15:22:05Z")

</div>

@ben I would not recommend adding / in the folder path, as this could break some stacks addons. @simon can tell you more about that.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [May 19, 2017, 4:08pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/6 "2017-05-19T16:08:01Z")

</div>

Would love to know what the issue is in having a `/` in a folder path. This is a standard part of path names.

@instacks @simon @ben

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [May 19, 2017, 5:00pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/7 "2017-05-19T17:00:46Z")

</div>

/ is not a standard part of a folder NAME.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [May 19, 2017, 5:27pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/8 "2017-05-19T17:27:22Z")

</div>

It is part of the UNIX (Linux) path name.

Unix (web servers) use directories, not folders.

My Question is WHAT PROBLEM DOES IT CAUSE?

Many of beens advanced tutorials, like using RW to set up and control an ROBOTS.TXT file require a `/` in the folder name.

---

<div class="post-metadata">

**Author:** ![instacks](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/instacks/32/23339_2.png) [@instacks](https://forums.realmacsoftware.com/u/instacks)\
**Post date:** [May 19, 2017, 5:36pm UTC](https://forums.realmacsoftware.com/t/confused-about-folder-and-filenames-when-creating-subpages/14080/9 "2017-05-19T17:36:11Z")

</div>

I am talking about rare cases of errors inside stacks, when the path cannot be evaluated because you define a custom folder name starting with a slash, so that RW will generate the page inside root instead of the parent pages subfolder.

If you don’t have a stack not working correctly, you do not have to care. So easy…
