Forums

Multiple categories in the permalinks (2 posts)

  1. BionicDrew
    Member
    Posted 3 years ago #

    I am currently building a site that will go out in issues (issue 11, issue 12 etc) and would like my permalinks to reflect this. However I do not know how to go about it. Currently, the permalinks use the %category%/%postname%/ layout but I would like them to look like http://example.com/issue/11/category/sub-category/postname. To save time, I understand that default is for wordpress to grab the category with the lowest ID and use that as the base.

    Thanks in advance

  2. stvwlf
    Member
    Posted 3 years ago #

    Hi

    You may be better off using a permalink of /%postname&/

    In Admin/Settings/Permalinks you can change the CategoryBase to issue, which means in the permalink, instead of the word category you will see the word issue.

    if you make these changes and the permalink for the category "Issue 11" is set to 11, your URL will look like
    http://example.com/issue/11/sub-category/postname

Topic Closed

This topic has been closed to new replies.

About this Topic