Quantcast
Channel: WordPress › Support » Forum: Hacks - Recent Topics
Viewing all articles
Browse latest Browse all 8245

selnomeria on "how to force CUSTOM POST TYPES to use default permalink"

$
0
0

my custom post type sample link is :
mysite.com/custom-type-name/post_slug

i want that my custom post types used the DEFAULT permalink structure, which i have set in Options>Permalinks (/%category%/$postname%), as all the normal 'post's use.

how to do that? have i to modify the core, to disallow it to create different permalink structure for custom post types? or have i to set register_post_type attributes( EP_PERMALINK, rewrite or etc.. i have no idea about them) ?...


Viewing all articles
Browse latest Browse all 8245

Trending Articles