• Resolved oceandigitals

    (@oceandigitals)


    Hello,

    it is possible to Remove cpt slugs from URL?

    mysite.com/cpt/article -> mysite.com/cpt/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    you mean the slug for the post type, and not the slug for the post, correct? Where you’d get a url of mysite.com/article/ ?

    Thread Starter oceandigitals

    (@oceandigitals)

    Yes sorry, that’s correct.

    Actually I’m using another plugin, but I wanted to know if it is possible directly inside your plugin…I think it is a common request

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    It is common enough but we are choosing to not have settings/configuration for it. We recommend https://www.ads-software.com/plugins/permalink-manager/ instead.

    Thread Starter oceandigitals

    (@oceandigitals)

    Noted thanks,

    It’s a pity to have to install another plugin…I try to get my websites as minimal as possible with plugin installations, also for security reasons..

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    I have the same plugin recommendation at the top of https://michaelbox.net/2020/06/slugless-post-type-permalinks/ but if you really don’t want a tried and tested plugin, you can try the code examples at this tutorial of mine.

    Thread Starter oceandigitals

    (@oceandigitals)

    thank you Michael for the code, in the future I hope you’ll consider adding this option.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove cpt slug’ is closed to new replies.