Title: 404 Errors on PHP Cached Files
Last modified: April 25, 2018

---

# 404 Errors on PHP Cached Files

 *  Resolved [graphettion](https://wordpress.org/support/users/graphettion/)
 * (@graphettion)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/404-errors-on-php-cached-files/)
 * Hey Frank,
 * I’m moving host providers and did a migration which lead me to these errors in
   my console:
    - GET [http://safetyskills.wpengine.com/wp-content/cache/autoptimize/autoptimize_0efafdd6d9ac939e0eb110481696f134.php](http://safetyskills.wpengine.com/wp-content/cache/autoptimize/autoptimize_0efafdd6d9ac939e0eb110481696f134.php)
      net::ERR_ABORTED
    - GET [http://safetyskills.wpengine.com/wp-content/cache/autoptimize/autoptimize_9987c782e38a7715620be889ea65db79.php](http://safetyskills.wpengine.com/wp-content/cache/autoptimize/autoptimize_9987c782e38a7715620be889ea65db79.php)
      404 (Not Found)
 * This tells me it cannot find the proper “.php” files. It seems like AO is not
   producing these files for some reason. I looked in wp-content/cache/autoptimize/
   and only see autoptimize_{hashOfNumbers}.php.none files. Not sure why it’s not
   working.
 * I’ve tried deactiviting/reactivating the plugin and purging server host and AO
   cache without success. Do you have any ideas what it could be?
 * Thank you,
    -  This topic was modified 8 years, 1 month ago by [graphettion](https://wordpress.org/support/users/graphettion/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2F404-errors-on-php-cached-files%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/404-errors-on-php-cached-files/#post-10218474)
 * I _suppose_ something (a security plugin) is removing .php-files from wp-content/
   cache/*. try re-enabling “serve as static files” and you won’t have this problem.
 * hope this helps,
    frank
 *  Thread Starter [graphettion](https://wordpress.org/support/users/graphettion/)
 * (@graphettion)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/404-errors-on-php-cached-files/#post-10218483)
 * Works like a charm. Thank you Frank!
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/404-errors-on-php-cached-files/#post-10218491)
 * you’re welcome, have a nice day (evening)! 🙂

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

The topic ‘404 Errors on PHP Cached Files’ is closed to new replies.

 * ![](https://ps.w.org/autoptimize/assets/icon-256X256.png?rev=2211608)
 * [Autoptimize](https://wordpress.org/plugins/autoptimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autoptimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autoptimize/)
 * [Active Topics](https://wordpress.org/support/plugin/autoptimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autoptimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autoptimize/reviews/)

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/404-errors-on-php-cached-files/#post-10218491)
 * Status: resolved