Streaming live at 10am (PST)

Can folders have "home" pages?


#1

Hi guys, say I create a folder called "covers" inside a project with a bunch of pages inside. Is it possible to also create a page that get‘s displayed on the folder‘s url: myurl.com/covers ? It‘s a shame to leave the folder‘s url empty...


#2

Yes, but the "home" page must not be placed in the folder itself, because all the pages in the folder have their own folder prefix.

Make sure your page is on the same level of the folder, then name the page slug the same as your folder slug. This works for collections too.

Example:

https://samliew.com/snippets (page without any folder, with slug "snippets")
https://samliew.com/snippets/tic-tac-toe (page inside a folder "snippets")
https://samliew.com/snippets/set-game (page inside a folder "snippets")


Folders and Pages
#3

This topic was automatically closed after 60 days. New replies are no longer allowed.