How to create a custom post type without extra slug?
-
Hello,
I’m trying to create a new custom post type, but when using the “rewrite” option and register the post type every published post adds by default extra slug: https://website.com/product/this-is-the-post, and I need the url to look like this: https://website.cm/this-is-the-post
How I can make this possible?
PS: I’m still trying this out, so I haven’t implemented on a production website, so nothing to redirect.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘How to create a custom post type without extra slug?’ is closed to new replies.