WordPress.org

Forums

child categories and pretty permalinks (2 posts)

  1. jared123
    Member
    Posted 6 years ago #

    I've got my permalinks set to: /%category%/%postname%/

    So, if i have a post called "joe" in my "personal" category, it shows up perfectly as:

    http://www.myblog.com/personal/joe/

    However, if I create a child category of "personal" called "friends" and categorize my "joe" post as "personal > friends", then my URL comes out like this:

    http://www.myblog.com/category/personal/friends/joe/

    Why is that extra "/category/" showing up? and how can I get rid of it. the comments here seem to be talking about this problem, but i couldn't get the solutions to work.

    any help would be most appreciated

  2. jared123
    Member
    Posted 6 years ago #

    whoops, i actually described that wrong.

    the URL for the post "joe" does show up as:

    http://www.myblog.com/personal/friends/joe/

    But the category archive for the child category includes the extra "/category/". so right now the category archive page for the "friends" child category is:

    http://www.myblog.com/category/personal/friends/

    And I don't want that extra "category", i want it to say:

    http://www.myblog.com/personal/friends/

Topic Closed

This topic has been closed to new replies.

About this Topic