How to structure your URL with folders?

Folders are excellent for organizing pages that fall under the same category. For example, if your site contains a terms of service and a privacy policy, you could create a folder called “Legal” and include separate pages for your terms of service and privacy policy within that folder. Then, your URL structure may look something like: www.yoursite.com/legal/terms-of-service

In this lesson, you’ll learn:

How to create and organize folders

You can organize your pages within folders (also called directories). You can create nested folders – subfolders, or subdirectories – for sites with deep hierarchy (i.e., sites with information organized into more sublevels).

How to create folders

To create a folder, open the Pages panel and click the New folder button.

https://assets-global.website-files.com/5e39e095596498a8b9624af1/62e171d4f1c952c459e2af08_P2XFJI2hA3Tg3G7cFlBC8X_f1kq_eceuraAhkL3i-pHUH3L4xN4GEZOY6PpLogr0RPHMWHRsNQa26m9cz0GjHzUMM9ijqlpipuIMp4aeO455DyUUAexTTT3jk5pa40QSnzbWlfJdU-mQ38siyeT_ZGo.png

How to move folders

To move your folders to a new location, open the Pages panel and drag and drop the folder where you want it in the page list.

Important: 301 redirects

https://assets-global.website-files.com/5e39e095596498a8b9624af1/62e171d4a2b8b22e5391ce30_7KlcTlpTVrKXIyupViyUqijNOPdEgZvMpsVDz2XRway7ktjd52ef0yhqyXzE4ZeGYudv29MKUgUCnpKJTTUs2oEpUIH2j_f_XODpQ7csC-Cp91W08E9-09zqLfDhT3kmxOe4UUQeJW72dhUzT3c.png

How to collapse and expand folders

To keep the page list conveniently organized, you can collapse and expand folders by clicking the folder name in the page list.

https://assets-global.website-files.com/5e39e095596498a8b9624af1/62e171d4a2b8b20f9591ce31_B1MsFiKM9OyD_mHNIslb-XS5NlH3BuRKMzdyL45YOsa3FqKGLZpb0yAJKcnjHy6N6hPqcrP8HhOPxFCobeGMEhed5kjIKbDCDz2kES6Bo5YiOoydOBWA5SydoHRvVkbp7Qo_h7o812UdUuLjfZisUIM.png

How to manage folder settings

In the folder settings panel, you can:

  • Nest your folder in a parent folder
  • Specify the name and slug of your folder
  • Password protect all pages within that folder
  • Delete an empty folder by clicking the “delete” trash can icon

Good to know: You can choose the parent folder of a folder within the folder settings panel or drag and drop pages or folders into a folder from the page list. Learn more about the Pages panel.

Important:

https://assets-global.website-files.com/5e39e095596498a8b9624af1/62e171d4961d2e6c2bb53870_WEFp7AnI3ndK42R6P8V4_vf4oczfZq-BpnMVTSF--l84ZPpSvd_sBTRMYbg6eIgTNjCjqyWnj9pW-JYpkeY7X6aC2uYJiWMKqHKTM5vugvFdL2wqkPiALuPy5m-Jan4O2gntW3SgoT54WoP2alxjCWk.png