I have custom post types on my wordpress site and I’ve set the slugs to say “/blog/{post_type}/{post_title}”.
I’m using the default post type as a “notes” section, so I want that slug to be “/blog/notes/{post_title}”. Is this possible?
I have custom post types on my wordpress site and I’ve set the slugs to say “/blog/{post_type}/{post_title}”.
I’m using the default post type as a “notes” section, so I want that slug to be “/blog/notes/{post_title}”. Is this possible?
Comments are closed.
There are many »default post types« like
post
,page
or evennav_menu_item
. If you talking aboutpost
as the default just go to Settings â Permalinks admin page, chose »custom structure« and use/blog/notes/%postname%/
as your structure.You can change the structure in your Permalink settings and you can also change the slug in the code you used to register the post type and then re-save your Permalinks.
In the above example, the slug is portfolio which can be changed.
Read more under the Rewrite section http://codex.wordpress.org/Function_Reference/register_post_type