Multiple directories
-
Hello support, I am trying to build a website and I would like to know if there is a way to have multiple sub-directories or directories since the site I am trying to build keeps student data for several students and each one should their own page, i.e. http://www.example.com/california/student1, http://www.example.com/california/student2, http://www.example.com/texas/student1, http://www.example.com/texas/student2 and so on. Is this possible? or is there a plugin that can achieve this?
Any support would be greatly appreciated. :)
-
Hi there,
Can you share the URL of the site you’re working on? We need to know that, because some aspects of the answer will different depending on whether you’re using a site hosted here with us on WordPress.com, or whether you’re using the open source version of WordPress at another host.
In general, you create a directory on a WordPress site by creating a page. In other words, if you publish a page titled “About”, that page will live at the directory, example.com/about on the site.
You create subdirectories by creating a page hierarchy. For example, let’s say you create a contact page as well, but you want it to be at example.com/about/contact, in the page editor, while creating the Contact page, you’ll assign the About page as its parent.
If you’re specifically building the site to function as an online database/directory, you can do it by manually creating pages like this, but that’s not feasible if we’re speaking of a lot of data. In that case you’ll want a directory/database plugin instead, that will handle creating these pages for you dynamically based on data you input in a form/spreadsheet instead.
For advice on specific plugins that can do that, please ask the WordPress.org community in their forums at https://wordpress.org/support/forums/. Those are the people who make the open source WordPress software and plugins for that software, so are better able to make those types of recommendations.
- The topic ‘Multiple directories’ is closed to new replies.