Title: 404 errors for custom post types
Last modified: August 22, 2023

---

# 404 errors for custom post types

 *  Resolved [strike3](https://wordpress.org/support/users/strike3/)
 * (@strike3)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/404-errors-for-custom-post-types-2/)
 * Hi,
   We’ve been having an unusual problem with the Optimizer plugin. Sporadically,
   several of our custom post types start returning 404 errors for all of their 
   pages. If I clear the Optimizer cache, all the pages start loading again. We 
   had a similar issue a while back on a separate client site where their homepage
   would return a 404 error until I cleared the Optimizer cache, and then it would
   work again (they finally disabled Optimizer since it was affecting customers).
   Is this a known issue, or is there some way I can try to debug what’s happening?
   I’d hate to have to disable the plugin since it has been speeding up our page
   loads. We are on Siteground hosting. It looks like we have version 7.3.4 of the
   plugin at the moment, but it’s been happening sporadically for a couple of months
   now.Thanks for any help or advice!Matt

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

 *  Thread Starter [strike3](https://wordpress.org/support/users/strike3/)
 * (@strike3)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/404-errors-for-custom-post-types-2/#post-16993104)
 * Also, I did exclude both the affected post types and the post type URLs (the 
   main page and all subpages using wildcards) in the plugin settings, but the error
   has continued happening.
   Matt
 *  Plugin Support [Georgi Ganchev](https://wordpress.org/support/users/georgiganchev/)
 * (@georgiganchev)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/404-errors-for-custom-post-types-2/#post-16993200)
 * Hello [@strike3](https://wordpress.org/support/users/strike3/) ,
 * Today a new version of SG Optimizer was released – ver. 7.4. If you are a SiteGround
   customer your version will be automatically updated until the end of the week.
   If you want you can force the update and check if the issue would keep happening.
 * Should you still experience it, please open a Helpdesk request from your SiteGround
   Client Area so we can investigate the problem.
 * Best regards,
   Georgi Ganchev
 *  Thread Starter [strike3](https://wordpress.org/support/users/strike3/)
 * (@strike3)
 * [2 years, 9 months ago](https://wordpress.org/support/topic/404-errors-for-custom-post-types-2/#post-16993204)
 * Hi Georgi,
   Okay, that sounds good. Thanks!Matt

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

The topic ‘404 errors for custom post types’ is closed to new replies.

 * ![](https://ps.w.org/sg-cachepress/assets/icon-256x256.gif?rev=2971889)
 * [Speed Optimizer - The All-In-One Performance-Boosting Plugin](https://wordpress.org/plugins/sg-cachepress/)
 * [Support Threads](https://wordpress.org/support/plugin/sg-cachepress/)
 * [Active Topics](https://wordpress.org/support/plugin/sg-cachepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sg-cachepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sg-cachepress/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [strike3](https://wordpress.org/support/users/strike3/)
 * Last activity: [2 years, 9 months ago](https://wordpress.org/support/topic/404-errors-for-custom-post-types-2/#post-16993204)
 * Status: resolved