Custom Fields
Re-Envisioned
Support MB Custom Post Type Permalink issue with Custom Post Type

  • Creator
    Topic
  • #22770
    Ghislain Malardier
    Participant

    Hi, I'm having an issue on Metabox Custom Post Type.

    When using /%postname%/ for permalink, only pages create with the Custom post type are working. Normal WordPress pages redirect to an archive page!

    If I use /%post_id%/ , all is working but it show the post name, not the post id.

    Debug mode do not show any error and I don't see any JS error in console.

    I made this quick video to show the issue and the CPT configuration:

    Please let me know if I missed anything.
    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Author
    Replies
  • #22782
    Long Nguyen
    Moderator

    Hi,

    I do not see the issue when viewing your site, see my screen record https://share.getcloudapp.com/xQuA2qGk.

    Can you please confirm it works?

    #22792
    Ghislain Malardier
    Participant

    Hi,
    It is only working if I use the /%post_id%/ (which it is set to right now), Plain (https://site.com/?p=123), or Numeric (https://site.com/archives/123).

    It is not working with any other WordPress default permalink structure. I'd like to use /%postname%/.

    #22796
    Long Nguyen
    Moderator

    Hi,

    I'm not able to reproduce the issue on my end. Please try to deactivate all plugins except Meta Box and MB AIO, switch to the default theme of WordPress Twenty Twenty, change the content of the .htaccess file to basic https://wordpress.org/support/article/htaccess/ then check the issue again.

    #22799
    Ghislain Malardier
    Participant

    Hi, The issue still persist.

    Please see the video: loom.com/share/a960023c62d14db9aac82a44573e567c

    Thank you

    #22820
    Long Nguyen
    Moderator

    Hi,

    Please share your admin site account via this contact form https://metabox.io/contact/. I will check this issue.

    #27317
    Angelika
    Participant

    Hi, did you solve this problem? I have exactly the same case and before you ask for it: I do never give admin site account access to anyone. If the problem is not solved I will open an own thread, I don't want to highjack this one here.

    The problem with using %post_id% is on posts (not pages or cpt). On posts the URL has a number domain.com/123 <- I would like to see the postname. But if I choose %postname% posts-URLs are fine, but then cpt-pages show "This page does not exist".

    #27734
    Cat Burchmore
    Participant

    I am having the same issue, how can this be resolved please?

    #28157
    Shrini
    Participant

    change premalink to plain
    test
    now you can change the premalink to postname
    works
    for every new item creation I am doing this
    please fix it

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