WordPress.org

Ready to get started?Download WordPress

Forums

Permalinks and Categories (2 posts)

  1. David Jones
    Member
    Posted 4 years ago #

    If as it says in the Codex that having a Category Permalinks isn't a good idea for performance reasons then how could I have a list of static content that followed a category link structure.

    For example:
    (Generic Example)
    http://example.com/category/post-name/

    (custom example)
    http://somesite.com/staff/Joeblow
    http://somesite.com/staff/Janedoe

    http://somesite.com/sales/product

    If I were to use the pages solution then the main page would be empty with all the subpages having the staff members pics and bios.

    After reading the WP-Tester issue I see that category permalink may not be the best solution.

    I am now left wondering what solution is best for what I want to accomplish?

  2. hellomatt
    Member
    Posted 4 years ago #

    You can have sub-pages which appear under the parent page. For example, if you have a page called "staff", and create pages for each staff member, you can have links like "/staff/john/". Do this by changing your permalinks to a custom structure; put in "/%postname%/" without the quotes.

    When you create pages be sure to look on the right hand side and look for Attributes and "parent". From the drop-down list select the parent page (in your case it would probably be staff).

    I hope that helps. Please let me know if you have any more questions.

Topic Closed

This topic has been closed to new replies.

About this Topic