Permalink prepend structure

Support MB Custom Post Type Permalink prepend structure

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #40283
    victoria de clascavictoria de clasca
    Participant

    Hello I see the option prepend permalink is not working, dis it based on the permalink page native of wordpress? should I ad the prepend somwhere else?
    My permalink structutre is set to:
    /%category%/%postname%

    and doesnt change the CPT permalink stays the same domain.com/CPT-slug/post-type-page-slug

    Referer:
    Prepended permalink structure Whether the permalink should be prepended. Example: if your permalink is /blog/, then your links will be: false -> /news/, true -> /blog/news/. Default true.

    #40372
    victoria de clascavictoria de clasca
    Participant

    hello?

    #40378
    PeterPeter
    Moderator

    Hello there,

    It is a WordPress native question so please read more on the documentation https://developer.wordpress.org/reference/functions/register_post_type/#rewrite
    and refer to this topic https://wordpress.stackexchange.com/questions/53298/custom-post-type-url-rewriting

    For example: go to Settings > Permalinks > Set the custom structure to /blog/%postname%/ then enable/disable this option when editing the post type > resave the permalink settings and see how it affects the post permalink.

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