Title: 404 errors on default post type when disabling plugin
Last modified: November 18, 2016

---

# 404 errors on default post type when disabling plugin

 *  [BasicPro](https://wordpress.org/support/users/estudio-de-grabacion/)
 * (@estudio-de-grabacion)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/404-errors-on-default-post-type-when-disabling-plugin/)
 * Hi,
 * I tried this plugin and worked ok, however I finally got how to add the code 
   directly when creating the post type so I don’t need this plugin anymore.
 * However when I deactivate the plugin I get 404 errors in posts and pages, these
   were working perfectly before, even if I flush the permalinks it still doesn’t
   work.
 * Reactivating the plugin solves the issue, but I don’t want to use the plugin 
   anymore, too many plugins.
 * Please let me know what can be happening here.
 * Regards
    Dídac

Viewing 1 replies (of 1 total)

 *  Thread Starter [BasicPro](https://wordpress.org/support/users/estudio-de-grabacion/)
 * (@estudio-de-grabacion)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/404-errors-on-default-post-type-when-disabling-plugin/#post-8451406)
 * Please disregard this message, it was another function I created to make it work,
   that was not done correctly. For some reason when the plugin was activated the
   problem doesn’t appear, its solved now.
 * Regards

Viewing 1 replies (of 1 total)

The topic ‘404 errors on default post type when disabling plugin’ is closed to new
replies.

 * ![](https://ps.w.org/custom-post-type-permalinks/assets/icon-256x256.png?rev=
   3495884)
 * [Custom Post Type Permalinks](https://wordpress.org/plugins/custom-post-type-permalinks/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-type-permalinks/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-type-permalinks/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-type-permalinks/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-type-permalinks/reviews/)

## Tags

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

 * 1 reply
 * 1 participant
 * Last reply from: [BasicPro](https://wordpress.org/support/users/estudio-de-grabacion/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/404-errors-on-default-post-type-when-disabling-plugin/#post-8451406)
 * Status: not resolved