Title: Problem with sub-category
Last modified: February 4, 2025

---

# Problem with sub-category

 *  Resolved [Gemini23](https://wordpress.org/support/users/gemini23/)
 * (@gemini23)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-sub-category/)
 * Uisng the categories /alexandra-theatre/musical/
   The category bases display in
   the following example[https://theatreinbirmingham.co.uk/…/the-rocky-horror…/](https://l.facebook.com/l.php?u=https%3A%2F%2Ftheatreinbirmingham.co.uk%2Falexandra-theatre%2Fmusical%2Fthe-rocky-horror-show-at-the-alexandra-birmingham%2F%3Ffbclid%3DIwZXh0bgNhZW0CMTAAAR2xPL0G75Gku9j1Cv5JQlXd4zQU4hEP1PwiejRPmmwrRO9_amNmUApQGec_aem_WVnedfl4HuKtj48nLkinsw&h=AT2OnuHko5YXmv46M68N3LnJwqgCSm47mc0mRPlp8klG_HEh_R9LEcJgEAF5MxWbZfffyPdfxTY8ICh-vfCXOh7n4u18sMN9wPmXUxs8XXHvF1b0YOAtNS-d-Jbk30NLSw&__tn__=-UK-R&c[0]=AT2i8S4FBM1-lJ6hIL2Uwqg5yq-pAh6i_gwEnmJTm0lhhLhYBG8nLRL-ecLlvZ39I-jXSFxVyKgE22OPiM0NXntlpJBuwopVdlAPDINT6hDPqihiYMV-FP9xhK-Dt7VnrhZ2Q6E8KT9SdVTJbidMWq5XeeGHtJJCixym3j_lqOtmPos)
   BUT… the link ‘Musical’ in the breadcrumb goes to a ‘page not found’Home Alexandra
   Theatre **Musical**[https://theatreinbirmingham.co.uk/alexandra-theatre/musical/](https://l.facebook.com/l.php?u=https%3A%2F%2Ftheatreinbirmingham.co.uk%2Falexandra-theatre%2Fmusical%2F%3Ffbclid%3DIwZXh0bgNhZW0CMTAAAR3i-FYt4BoUofmjBdfb1SP3Q5e6JfIQW0ow2S8OnpLp0iE3hMgdGRKUA2s_aem_CTgX4mvmvo8yDYLT7e46Qg&h=AT0Gl8X73YmH-zb31yO-3W8NC2iYIE4j3tDJyrLTxdL30HumjIHDrjNuafD2hdItBa-ffvimyEKlOEW2Nn8p2Gti_kUBCFTZ117tLP8PwtF8LuEv79_TdkJncnH4uyMcZw&__tn__=-UK-R&c[0]=AT2i8S4FBM1-lJ6hIL2Uwqg5yq-pAh6i_gwEnmJTm0lhhLhYBG8nLRL-ecLlvZ39I-jXSFxVyKgE22OPiM0NXntlpJBuwopVdlAPDINT6hDPqihiYMV-FP9xhK-Dt7VnrhZ2Q6E8KT9SdVTJbidMWq5XeeGHtJJCixym3j_lqOtmPos)
   BUT – the following does display the musical category[https://theatreinbirmingham.co.uk/musical/](https://l.facebook.com/l.php?u=https%3A%2F%2Ftheatreinbirmingham.co.uk%2Fmusical%2F%3Ffbclid%3DIwZXh0bgNhZW0CMTAAAR1TQPRGgM7T6TkOA0Jp3cH57HP6dRea9meZptvbqbrsDzf7jZHcK7z4sC8_aem_mRkD4y0OjbIsUDLQTNTIpg&h=AT1h8f8bHrnqms649mebV4buoR-IVZh7qWng0lulQhqanPqQHNSJHemTE3Shb7kLzWVfOaSWptzRe9vQRXdH6nAnUkK1uyOaRl9PjXg14kWqNxcY2WmStjTHBUV5P3t-ig&__tn__=-UK-R&c[0]=AT2i8S4FBM1-lJ6hIL2Uwqg5yq-pAh6i_gwEnmJTm0lhhLhYBG8nLRL-ecLlvZ39I-jXSFxVyKgE22OPiM0NXntlpJBuwopVdlAPDINT6hDPqihiYMV-FP9xhK-Dt7VnrhZ2Q6E8KT9SdVTJbidMWq5XeeGHtJJCixym3j_lqOtmPos)
   How can we get the category to work with the base?Ie this to display content 
   from the ‘sub’-category ‘musical?
 * [https://theatreinbirmingham.co.uk/alexandra-theatre/musical/](https://l.facebook.com/l.php?u=https%3A%2F%2Ftheatreinbirmingham.co.uk%2Falexandra-theatre%2Fmusical%2F%3Ffbclid%3DIwZXh0bgNhZW0CMTAAAR2TM1YyArLFWgYXQQWq2mRx3UU1hoH5l0A-m2EIYr05C7kttBELvHSW5VQ_aem_PgF_DMFZ4WjBAKQc6Lqlow&h=AT0Gl8X73YmH-zb31yO-3W8NC2iYIE4j3tDJyrLTxdL30HumjIHDrjNuafD2hdItBa-ffvimyEKlOEW2Nn8p2Gti_kUBCFTZ117tLP8PwtF8LuEv79_TdkJncnH4uyMcZw&__tn__=-UK-R&c[0]=AT2i8S4FBM1-lJ6hIL2Uwqg5yq-pAh6i_gwEnmJTm0lhhLhYBG8nLRL-ecLlvZ39I-jXSFxVyKgE22OPiM0NXntlpJBuwopVdlAPDINT6hDPqihiYMV-FP9xhK-Dt7VnrhZ2Q6E8KT9SdVTJbidMWq5XeeGHtJJCixym3j_lqOtmPos)
   
   I don’t think this is theme related.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [Gemini23](https://wordpress.org/support/users/gemini23/)
 * (@gemini23)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-sub-category/#post-18284770)
 * ie the permalink base is as follows:
   /%category%/%postname%/
 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-sub-category/#post-18285005)
 * 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](https://wordpress.org/support/users/gemini23/)
 * (@gemini23)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-sub-category/#post-18285259)
 * 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](https://wordpress.org/support/users/gemini23/).

Viewing 3 replies - 1 through 3 (of 3 total)

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [Gemini23](https://wordpress.org/support/users/gemini23/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/problem-with-sub-category/#post-18285259)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
