In WordPress 2.9 custom post type was introduced, that opened a new world for many WordPress developers.
When it comes to removing the slug and not destroying the rewrite rules for other post types this plugin works great.
This only concerns those who are using %postname% as permalink structure and want to add a custom post type so that
the urls for them are in the same way as normal posts and pages: http://siteurl/%custom_post_type_title%/.
Find more useful tips and plugins: Ultimate web tips
remove-slug-custom-post-typefolder to the
- Activate the plugin through the ‘Plugins’ menu in WordPress
- Which permalink structure do I need to have for this to work?
This only works if permalink structure is “/%postname%/
Recommended, it still works like a charm after 2 years without any update.
it’s just working. removed “product” slug from url
Just install it and it will automatically remove the custom post slug from the post urls. Lovely <8
It works OK, but when I uninstalled it broked my site (404 or redirect errors). I had to reset my htaccess file to make things work again.
A nice and simple plugin that gets the job done of removing the slug of your custom post type from the permalink.
Thanks for the plugin. Are you planning to update it with multilingual support as well?
Contributors & Developers
“Remove slug from custom post type” is open source software. The following people have contributed to this plugin.Contributors
Interested in development?
- Permalink regex fixed
- Suffix feature added
- Permalink bug fixed