Forums

sub category not appearing in url (1 post)

  1. DevonportA1
    Member
    Posted 1 year ago #

    Dear WordPress users,

    I have been quite happily using "pretty" permalinks and categories for my wordpress posts. So with the following custom structure /%category%/%postname%/ my urls look like this:

    http://www.mysite.gg/category/post-title/ which is great

    I have now decided to use some sub-categories and I expected to get urls looking like this:

    http://www.mysite.gg/category/sub-category/post-title/ (what I want)

    Instead I get:

    http://www.mysite.gg/sub-category/post-title/

    If I edit the link manually on the Edit Post page, to add in the category, WordPress removes the forward slash.

    How can I get the urls with category and sub category?

    Many thanks,

    Devonporta1

Topic Closed

This topic has been closed to new replies.

About this Topic