[Resolved] Sub categories not showing up in URL per my Permalink setup

Home Forums Support [Resolved] Sub categories not showing up in URL per my Permalink setup

Home Forums Support Sub categories not showing up in URL per my Permalink setup

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #2383475
    Kelsey

    Hello,

    Before posting my question, I followed the steps in this thread: https://generatepress.com/forums/topic/posts-not-showing-up-under-proper-categories/ But it didn’t solve my issue.

    I’m creating a glossary of terms on my website.
    And I’d like those terms to fall under the following structure: resources/terms/r/ristretto

    But right now, it’s reading: resources/terms/coffee-terms-resources/r/ristretto/

    I don’t know why the “/coffee-terms-resources” is showing up in my schema.

    I want it to be resources/terms/r/ristretto

    I’m using the RankMath SEO plugin, not Yoast, and RankMath doesn’t have a backend option that overrides the custom permalink settings in WordPress.

    Here is the post in question: https://thegoldenlamb.com/resources/terms/coffee-terms-resources/r/ristretto/

    #2383509
    Fernando
    Customer Support

    Hi Kelsey,

    May we know what setting you have in Settings > Permalinks?

    #2383874
    Kelsey

    Hello, sure.

    /%category%/%postname%/

    -Kelsey

    #2383969
    David
    Staff
    Customer Support

    Hi there,

    the Theme doesn’t interfere with the permalink structure.
    I did notice is if i visit the URL you want ie.

    https://thegoldenlamb.com/resources/terms/r/ristretto/

    Then it gets 301 redirected to the URL you don’t want – see here:

    2022-10-24_12-11-20

    Not sure if you have any redirects setup on the site.

    But creating custom permalink structures is best suited to a plugin like Yoast.
    If not i would suggest asking on WordPress stackexchange, as you’re more likely to find some experts there:

    https://wordpress.stackexchange.com

    #2384114
    Kelsey

    I figured it out! Since I already had a category named “coffee,” WordPress wouldn’t allow me to have a sub-category with the same name, so it was creating its own unique slug.

    Thanks for your help.

    #2384148
    David
    Staff
    Customer Support

    Glad to hear that !!!

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.