Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Gemini23

    (@gemini23)

    ie the permalink base is as follows:
    /%category%/%postname%/

    Moderator bcworkz

    (@bcworkz)

    You apparently have altered the default rewrite rules in order for the category archive URL for “musical” to work without any kind of base element such as /category/. These kind of schemes often fail when sub-categories are involved. I recommend going back to utilizing a category base in your URLs. After restoring the base, visit the permalinks settings screen to cause your rewrite rules to be regenerated.

    The base doesn’t have to be /category/, it could be /cat/ or even /c/, but it’s best to have some sort of base URL element. Otherwise WP has difficulty knowing if the request is for a sub-category term or a post.

    Thread Starter Gemini23

    (@gemini23)

    Resolved with the help of the siteground techies and code added to function.php file

    • This reply was modified 1 year, 4 months ago by Gemini23.
Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Problem with sub-category’ is closed to new replies.