Custom post and custom taxonmy slug

Support MB Custom Post Type Custom post and custom taxonmy slug

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #29650
    HeaveHeave
    Participant

    Hello there,
    Newbie question here

    let say i have a custom post named "house"
    and taxonomy like "big" "small" "neh"

    Is it possible that a single house slug is like mydomain.com/house/nameofthehouse
    and an archive for tax like mydomain.com/house/big ?

    #29654
    Long NguyenLong Nguyen
    Moderator

    Hi,

    If you want to add the CPT slug to the URL of the taxonomy. Please follow this topic https://wordpress.stackexchange.com/questions/94817/add-category-base-to-url-in-custom-post-type-taxonomy

    #29657
    HeaveHeave
    Participant

    Is there a way to do it with metabox aio ?

    #29658
    HeaveHeave
    Participant

    In fact the link you share is the oposite of what i need 🙁

    #29671
    Long NguyenLong Nguyen
    Moderator

    Hi,

    MB Custom Post Type extension does not have an option to add the CPT slug to the URL of the taxonomy like that. It just helps you to create a CPT, taxonomy visually instead of using the code.

    For this case, you need to use the code to rewrite the taxonomy URL. This topic might help you to accomplish that https://www.ibenic.com/custom-wordpress-rewrite-rule-combine-taxonomy-post-type/

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