Title: 404s when saving custom posts
Last modified: August 16, 2018

---

# 404s when saving custom posts

 *  Resolved [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/)
 * I’m getting 404s every time I save a custom post. For example, I change a url
   and view the page. Everything works. The next time I save the same page without
   making any changes & view the page again. This time I get a 404.
    This has been
   happening pretty consistently & I’m not sure why.

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/404s-when-saving-custom-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/404s-when-saving-custom-posts/page/2/?output_format=md)

 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10596859)
 * Actually it’s even worse than that. The 404s happen not just after saving, but
   even just randomly after refreshing a page. I know it isn’t the browser cache
   because it randomly happens in different browsers & emptying the cache doesn’t
   make any difference.
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10597262)
 * Hi [@lilianneb](https://wordpress.org/support/users/lilianneb/)
 * I am not sure what’s the cause of this issue. Does it happening for the Default
   PostType or custom PostType?
 * I have checked this issue on Post but doesn’t happening on my end. Could you 
   please confirm.
 * Thanks,
    Sami
 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10628123)
 * Hi, thanks for replying. It happens on custom posts. I found a temporary solution
   by saving permalinks in wordpress settings -> permalinks after every time I change
   a url. When I do this, the new permalink seems to hold, if not it leads to 404.
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10629601)
 * [@lilianneb](https://wordpress.org/support/users/lilianneb/) Yes, that’t happening.
   I’ll try to find out the solution and provide it soon.
 * Will let you know once, i am done with it.
 * Thanks,
    Sami
 *  [mbaums](https://wordpress.org/support/users/mbaums/)
 * (@mbaums)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10706768)
 * Are there any updates on this issue. I am finding that whenever I save/update
   a page that has a slash “/” in the permalink the plugin removes the slash.
 * for example:
    location/main-street/store
 * becomes:
    locationmain-streetstore
 * This happens with any page where there is an existing permalink that was manually
   entered
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10710431)
 * [@lilianneb](https://wordpress.org/support/users/lilianneb/) Please check your
   issue with latest WordPress and Permalinks Customizer version.
 * I hope, you won’t found this issue anymore. Please let me know, if you still 
   seeing this issue as i have already this with multiple pages / posts.
 * [@mbaums](https://wordpress.org/support/users/mbaums/) Please check your permalinks
   customizer settings maybe slash got removed from there as i can’t see this issue
   on my end.
 * Thanks,
    Sami
 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10717358)
 * Hi Sami, Thanks for looking into the issue.
    I don’t see an update available 
   yet…? I have version 2.3.0 from Sept 10, 2018. Has an update been published since
   then?
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10723861)
 * [@lilianneb](https://wordpress.org/support/users/lilianneb/) No, there is no 
   update at the moment. I am trying to replicate this issue on WP 4.9.8 and Permalinks
   Customizer v2.3.0 but doesn’t found it.
 * So, waiting for your response to release the update of the plugin. Are you still
   having this issue?
 * Regards,
    Sami
 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10726401)
 * Yes I still have the problem using WP 4.9.8. Only on custom posts though
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 8 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10784045)
 * Hi [@lilianneb](https://wordpress.org/support/users/lilianneb/)
 * I have tried to flush the cache on updating the permalink. Please get the v2.3.1
   and verify does it solves your issue or not.
 * Thanks,
    Sami
 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10807985)
 * Hi,
    I updated to v2.3.1 & not only is it still happening, it also causes an 
   internal server error because of an incompatibility between WPML & the constant
   flushing of permalinks. :-/
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10815539)
 * [@lilianneb](https://wordpress.org/support/users/lilianneb/) Constant Flushing
   won’t work anymore. I have removed that rewriting issue for now.
 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10856279)
 * So I wonder if the issue isn’t user permissions. I noticed that when I save custom
   posts as Administrator I don’t get 404s. When a lower role such as Editor saves
   the posts they turn into 404s. Maybe something to look into…?
 *  Plugin Author [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * (@sasiddiqui)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10859161)
 * Thanks for providing this detail. Can you check does the Editor contains the 
   Permalinks Permission or not and if not then could you assign the permissions
   to them?
 * Regards,
    Sami
 *  Thread Starter [lilianneb](https://wordpress.org/support/users/lilianneb/)
 * (@lilianneb)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/#post-10863513)
 * I see these 3 permissions. Do any of them need to be assigned to the editor?
 * pc_manage_permalink_redirects
    pc_manage_permalink_settings pc_manage_permalinks
    -  This reply was modified 7 years, 7 months ago by [lilianneb](https://wordpress.org/support/users/lilianneb/).

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/404s-when-saving-custom-posts/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/404s-when-saving-custom-posts/page/2/?output_format=md)

The topic ‘404s when saving custom posts’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/permalinks-customizer_fff1d5.svg)
 * [Permalinks Customizer](https://wordpress.org/plugins/permalinks-customizer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/permalinks-customizer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/permalinks-customizer/)
 * [Active Topics](https://wordpress.org/support/plugin/permalinks-customizer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalinks-customizer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalinks-customizer/reviews/)

 * 20 replies
 * 3 participants
 * Last reply from: [Sami Ahmed Siddiqui](https://wordpress.org/support/users/sasiddiqui/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/404s-when-saving-custom-posts/page/2/#post-10906855)
 * Status: resolved