No prepended permalink structure?

Support MB Custom Post Type No prepended permalink structure?Resolved

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #16884
    anjaanja
    Participant

    The option "No prepended permalink structure?" either doesn't seem to work or I don't understand it.

    I would like to have only the post name in the URL, just like on normal pages/postings. Is that possible?

    Example:
    from http://www.domain.com/landingpage/post-name/
    to http://www.domain.com/post-name/

    #16903
    Anh TranAnh Tran
    Keymaster

    From WordPress Codex, this option equivalent to with_front parameter:

    Should the permalink structure be prepended with the front base. (example: if your permalink structure is /blog/, then your links will be: false -> /news/, true -> /blog/news/). Defaults to true.

    So if your permalink is %post_name%, this option does nothing. And I don't think WP supports removing CPT's slug from the permalink.

    #35351
    EddieEddie
    Participant

    I have the challenge posed in the original question from Anja. My permalink is /sample-post/, yet nothing seems to work.

    #35360
    Long NguyenLong Nguyen
    Moderator

    Hi Eddie,

    Meta Box does not support removing the CPT slug from the URL. Please refer to this topic https://support.metabox.io/topic/how-to-remove-the-slug-from-the-permalink-of-a-cpt/

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