Title: Removing &quot;post_type&quot; from permalink / URL
Last modified: August 21, 2016

---

# Removing "post_type" from permalink / URL

 *  Resolved [dberz](https://wordpress.org/support/users/dberz/)
 * (@dberz)
 * [12 years ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/)
 * Hello –
 * I created a new custom post type called “custom_event”, and I’d like to remove
   the post type from the URL string.
 * Current URL:
    site.com/custom_event/post_name
 * Desired URL:
    site.com/post_name
 * What’s the best way to do this?
 * Thank you,
    D
 * [https://wordpress.org/plugins/custom-post-type-ui/](https://wordpress.org/plugins/custom-post-type-ui/)

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [12 years ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/#post-4857296)
 * Hi dberz, did you check out the “advanced options” section of the plugin? You
   should be able to set a custom rewrite slug to use with your CPT.
 *  [Avery1](https://wordpress.org/support/users/avery1/)
 * (@avery1)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/#post-4857541)
 * I’ve got the same issue. Assuming that “Advanced Options” is the same as Settings,
   not sure what to change. I see “Custom Rewrite Slug” which is currently “default:
   taxonomy name”. “Rewrite With Front” is set to true, and “Rewrite Hierarchical”
   is set to false. How exactly do I set a custom rewrite slug where the “post type”
   is not displayed in the urls. Thanks!
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 1 month ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/#post-4857542)
 * Just to be certain Avery1, are you having the issue with post types you’ve created,
   or taxonomies? Because they will be potentially different in solution.
 *  [Avery1](https://wordpress.org/support/users/avery1/)
 * (@avery1)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/#post-4857543)
 * Taxonomy. I’ve only got one custom post type. Because I’m not using a static 
   front page, and there will be no posts on it, your plugin (along with Menus) 
   has allowed me to list the services we offer under a more appropriate page.. 
   as posts (vs child-pages). Thanks!
 * My permalinks/urls are:
    http //:MySite/custom_post_type/my_custom_posts/
 * and if possible I’d like them to be:
    http //:MySite/my_custom_posts/
 *  Plugin Contributor [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * (@tw2113)
 * The BenchPresser
 * [11 years, 1 month ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/#post-4857544)
 * still sounds like you’re mixing up post types and taxonomies
 * “I see “Custom Rewrite Slug” which is currently “default: taxonomy name”. “Rewrite
   With Front” is set to true, and “Rewrite Hierarchical” is set to false.”
 * The fact that your pasted note involves “default: taxonomy name” says you were
   looking at the taxonomy settings and not the post type settings. However, the
   URLs you’re mentioning talk about post types, and not taxonomies.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Removing "post_type" from permalink / URL’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-type-ui/assets/icon-256x256.png?rev=2744389)
 * [Custom Post Type UI](https://wordpress.org/plugins/custom-post-type-ui/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-type-ui/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-ui/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-ui/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-ui/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-ui/reviews/)

## Tags

 * [permalink](https://wordpress.org/support/topic-tag/permalink/)

 * 5 replies
 * 3 participants
 * Last reply from: [Michael Beckwith](https://wordpress.org/support/users/tw2113/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/removing-post_type-from-permalink-url/#post-4857544)
 * Status: resolved