WordPress.org

Ready to get started?Download WordPress

Forums

Help Setting up my WordPress Site Structure Please (9 posts)

  1. james_trinder
    Member
    Posted 1 year ago #

    Hi All,

    I'm trying to create the following structure using WordPress, but I'm having a really hard time completing it:

    - site.com/cars :: shows all posts about cars
    - site.com/cars/red :: shows all posts about red cars
    - site.com/boats :: shows all posts about boats
    - site.com/boats/red :: shows all posts about red boats

    My main goals are:

    - Pretty permalinks - I want the above url structure to stay, as it makes sense and is aesthetically pleasing.
    - Be able to have a custom template page for each level, so for example : one template page for cars, and one for cars/red.
    - I can't reverse it (i.e. red/cars).

    That's pretty much it.

    I've tried doing this with CPT's and taxonomies, but I can't get the permalink structure I want - the taxonomies end up being: site.com/taxonomy rather than: site.com/CPT/taxonomy.

    I've been going in circles with this all week - so any help would be appreciated!!!

    Thanks.

  2. james_trinder
    Member
    Posted 1 year ago #

    Anyone??

  3. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Use a custom menu (the default is Pages), add your categories and important pages to it. Read about this here on the codex.

  4. james_trinder
    Member
    Posted 1 year ago #

    I understand the menu bit - the bit I'm stuck on is the actual core structure for the site, and how I'd recreate this with categories, CPTs, Taxes etc etc!

  5. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Each post gets a category or tag, they are sorted by site visitors using the menu items this way. These also show up in a properly set up SEO for site.

    Also, you can have child categories...this Family Website uses them (see 'Tree' category widget at middle footer top)

    site/category/child-category/child-category/child-category

  6. james_trinder
    Member
    Posted 1 year ago #

    Blimey, that tree structure you linked to is quite something!

    So on from this - how can i make the child categories have the same slug, with different parents?

    Parent - Cars :: Child - red
    Parent - Trucks :: Child - red

    Meaning - multiple child categories called 'red', under different parents?

  7. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    This is done best with a flat category structure and a custom menu, look at how the cat items works also - the TITLE can be anything you want, the slug also, so use a method at hand to create uniqueness.

  8. Pioneer Valley Web Design
    Member
    Posted 1 year ago #

    Also: The use of both tags and categories in a custom menu is powerful.

    if post = cat and tag = tag? example

  9. james_trinder
    Member
    Posted 1 year ago #

    I see - think I'll need to have a play later and see if I can work this out :)

    Thanks

Topic Closed

This topic has been closed to new replies.

About this Topic