Jump to content

How to make a subfolder


2hoch11
 Share

Recommended Posts

I am trying to get this site structure:

…
/projects/ (is rendered, is in nav menu)
/projects-folder/ (not rendered, not in nav menu)
/projects-folder/project1 (rendered, not in nav menu)
/projects-folder/project2 (rendered, not in nav menu)
/projects-folder/project3 (rendered, not in nav menu)
…

How can I create the "projects-folder"? Do I need a "folder" or a "blank"-template. Or is there any better solution?

Link to comment
Share on other sites

Link to comment
Share on other sites

I'm not sure I understand the question, but I guess by "folder" you mean "a URL structure that doesn't exist neither as physical folder on disk nor in the PW page-tree". If that's what you're after, you can enable URL segments in home (page id 1), and then go from there. There are plenty of forum threads with examples. It's really simple and straightforward (no need to mess around with .htaccess rewrite rules etc.)

https://processwire.com/docs/front-end/how-to-use-url-segments/

 

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...