Custom Fields
Support General How to remove the slug from the permalink of a CPT

  • Creator
  • #31945
    Resolved Knüt


    I've set up a Custom Post Type.

    By default, the permalink structure is

    I would like to remove the CPT slug from the URL, so it would be just

    How can I achieve that?

    I've been playing with the Custom Rewrite Slug. It's empty by default, so I tried adding a slash /, but it broke the site. I also tried adding /%postname%/, but that wasn't successful either. Any ideas?

    Thank you very much!

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