Possible to change the slug of default post type?

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?

Related posts

2 comments

  1. There are many »default post types« like post, page or even nav_menu_item. If you talking about post as the default just go to Settings → Permalinks admin page, chose »custom structure« and use /blog/notes/%postname%/ as your structure.

  2. 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.

    'rewrite' => array( 'slug' => 'portfolio', 'with_front' => false ),
    

    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

Comments are closed.