WordPress.org

Support

Support » How-To and Troubleshooting » defining a “directory structure” for a page collection

defining a “directory structure” for a page collection

  • WP 2.7
    I’m putting together a Glossary which began life as a single page, and now needs to be split up into 27 pages (#0-9 + a-z) to improve load times. The problem is this;
    1. Calling the single page “glossary” gives a nice easy URL: http://www.domain.tld/glossary. Perfect.
    2. That’s great, but splitting the pages gives an unfortunate URL which – of course (using the letter a as an example) produces http://www.domain.tld/a
    which isn’t great.

    What I’m trying to figure out how to do is to have the URL for all pages – that are glossary pages – read like this; http://www.domain.tld/glossary/a (or b or whatever letter the visitor wants)Meaning…all pages are below “glossary”

    If this wasn’t wordpress, but “just another website” I’d create a directory, stash some pages in there, and call ’em http://www.domain.tld/glossary/whatever_letter but….that obviously won’t work here.
    How on earth do I go about doing this – for that matter, is it even possible?

    Regards & HTH
    -Me

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi

    You should turn the sub-pages of the top level glossary page into child pages of the main Glossary page.

    In the wordpress post editor, there is a section beneath (or next to if you are using 2.7) called Page Parent. For each of your sub-pages, set the parent page to the glossary page. Then your URL’s will be exactly as you want, http://www.domain.tld/glossary/a

    ACE! COOL! TREMENDOUS! YAY! (etc)
    A cascading multitude of effusive and “totally-over-the-top” thanks!
    Topic is duly marked as “resolved” in accordance with forum guidelines.
    -Me

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘defining a “directory structure” for a page collection’ is closed to new replies.
Skip to toolbar