Help understanding how to create custom link structures with metabox AIO?

Support Meta Box AIO Help understanding how to create custom link structures with metabox AIO?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #40725
    JBPHJBPH
    Participant

    I have created a CPT for recipes.
    So currently my link structure is:
    domain/recipe/post
    for example I have a recipe for lasagne so the URL is:
    domain/recipe/lasagne
    I have added a taxonomy for the type of food and called it "Food Type"
    and here I have added:
    "italian"
    "french"
    "greek"
    etc.
    So now when I create a post under recipe i can see the metabox for "Type of Food" and can choose the option I want.
    How do I get the URL structure to reflect the "Type of Food" chosen so the URL should be:
    domain/italian/lasagne
    or
    domain/recipe/italian/lasagne
    instead of:
    domain/recipe/lasagne
    Thanks!

    #40727
    PeterPeter
    Moderator

    Hello,

    Customizing the permalink settings is beyond the scope of support of Meta Box. You can try to go to Settings > Permalinks > Custom structure > and set it to /%category%/%postname%/.

    Or follow this article to customize the permalink with coding https://stackoverflow.com/questions/57765487/how-to-add-custom-taxonomy-in-custom-post-type-permalink
    and this topic https://support.metabox.io/topic/post-type-and-then-taxonomy-for-url-structure/#post-40569

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