url rewriting for custom post types
Yes you can use the rewrite parameter when creating your custom post type: register_post_type( ‘example_type’, array( ‘labels’ => array( ‘name’ => “Example-Type”, ‘singular_name’ => “example-type” ), ‘public’ => true, ‘has_archive’ => true, ‘rewrite’ => array(‘slug’ => ‘the-url-you-want’, ) ); } You will need to reset your permalinks for it to take effect as well. EDIT: … Read more