How can i remove slug in custome post type url?
Much better then installing a whole plugin for this.
Tested with 4.3:
register_post_type( 'dummy', array( //other custom posttype definitions 'rewrite' => array('slug' => '/')) );
After this save your rewrite rules to make it work.
Actually it was quite easy, install the plugin "Remove slug from custom post type" to remove the '/product/' slug, no settings required. Install the plugin "SEO Ultimate" to remove the 'product-category' slug, in SEO Ultimate settings under 'Permalink Tweaker' check the 'Product Categories' and save. We use it for affiliates so cannot comment on other areas such as cart.
I don't know how well this plugin works, but here you go.
http://wordpress.org/extend/plugins/remove-slug-from-custom-post-type/