Title: 404 errors
Last modified: May 29, 2018

---

# 404 errors

 *  [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/)
 * Those errors only showing when I’m switching currency:
 * ?wmc-currency=EUR:26 GET [https://buyacsgo.com/wp-content/cache/autoptimize/js/autoptimize_234ff900ccf0afe755e94c6f6d09c112.js](https://buyacsgo.com/wp-content/cache/autoptimize/js/autoptimize_234ff900ccf0afe755e94c6f6d09c112.js)
   404 ()
 * GET [https://buyacsgo.com/wp-content/cache/autoptimize/js/autoptimize_0f2c5f2598b3457dcde5d1d4944eecc9.js](https://buyacsgo.com/wp-content/cache/autoptimize/js/autoptimize_0f2c5f2598b3457dcde5d1d4944eecc9.js)
   404 ()
 * I recently switch my hosting from LiteSpeed server to apache. It’s having issue
   from yesterday. have not faced such issues before. I’m not getting errors if 
   I turn off js minify.
    -  This topic was modified 8 years ago by [buyacsgo](https://wordpress.org/support/users/buyacsgo/).

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

1 [2](https://wordpress.org/support/topic/404-errors-92/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/404-errors-92/page/2/?output_format=md)

 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337117)
 * Seeing the same for your AO’ed CSS now, looks like a problem with a page cache
   that has stale HTML in cache that refers to old, removed AO’ed CSS/ JS?
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337129)
 * Yes, I have cleared AO but still having issue.
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337135)
 * Or a problem with conflicting .htaccess directives (possibly due to some security
   plugin or similar) which 404’s those files even if they are there.
 * Maybe check on the server if the files mentions are to be found in `wp-content/
   cache/autoptimize/js` or `wp-content/cache/autoptimize/css`?
    -> if the files
   mentioned are there, this is htaccess/security related -> if the files are not
   there but others are it’s probably a page cache thing -> if no files are to be
   found in those directories it could be a file (directory) permission issue with
   AO not being able to create the files (but you should see a warning about that
   on your dashboard).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337142)
 * > Yes, I have cleared AO but still having issue.
 * I was referring to a page cache, which AO is not actually 🙂
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337186)
 * After clearing cache from WP Super Cache still having same issue.
 * Atm, I have turned off Super Cache plugin. Can you please able to check by visting
   my site ?
 * It’s just having issue with 3 plugins..
 * 1> Autoptimize.
    2> WP Super Cache. 3> Woocommerce multiccurrency.
 * If I turn of WP super cache then I’m not facing issue. As well as if I turn of
   Js minify still I’m not facing issue. This 404 only showing when I’m switching
   currency
    -  This reply was modified 8 years ago by [buyacsgo](https://wordpress.org/support/users/buyacsgo/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337208)
 * Also and still have it for the Autoptimized CSS I’m afraid;
 * ![](https://i0.wp.com/i.imgur.com/PvOLrIX.png?ssl=1)
 * now the weirdest thing; the CSS does exist and I can load it just fine in a separate
   tab, e.g. the first one from the screenshot [https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css](https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css)
 * So I am at a loss of what is going on here I’m afraid; AO correctly optimizes
   the CSS (and JS), adds the link in the HTML, but for some reason that link does
   not work when requested from a page with the change currency querystring …
 * a weird cloudflare bug maybe??
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337231)
 * Those files are not present in wp-content/cache/autoptimize/js
    autoptimize_0f2c5f2598b3457dcde5d1d4944eecc9.
   js autoptimize_234ff900ccf0afe755e94c6f6d09c112.js
 * But in JS folder this 2 files are present:
    autoptimize_8fdeb77ece6d207e37ecac073057dc26.
   js autoptimize_5a83752cdfa8e446476a54da9be31463.js
 * Should I pause Cloudflare CDN ?
    -  This reply was modified 8 years ago by [buyacsgo](https://wordpress.org/support/users/buyacsgo/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337706)
 * > Should I pause Cloudflare CDN ?
 * yes, that’s one of the things you should consider doing. do you have page rules
   at cloudflare, if so make sure to disable those as well!
 * also, if that does not solve things and given the fact that all used to work 
   until recently, you should review whatever changes were made; your change of 
   hosting (so contact hoster), but also any new plugins or configuration changes?
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337737)
 * I just updated 2 plugins and also tested by disabled them… Can you able to visit
   my site now and use LIVE CHAT from our website ? that will be faster than this.
   🙂
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337836)
 * afraid I can’t join a live chat now [@buyacsgo](https://wordpress.org/support/users/buyacsgo/),
   sorry 🙂
 * but what surprises me; [https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css](https://buyacsgo.com/wp-content/cache/autoptimize/css/autoptimize_af233c61177d1b29bf398446d347a865.css)
   loads almost always, except sometimes it … doesn’t. can you check if that file
   is there in `wp-content/cache/autoptimize/css/`?
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337847)
 * Yes this file is present.
 * Is this happening due to Cloudflare DNS delay ? But This issue I’m facing from
   yesterday when there had no DNS delay.
 * EDIT: just now I have disabled JS minify
    -  This reply was modified 8 years ago by [buyacsgo](https://wordpress.org/support/users/buyacsgo/).
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10337943)
 * no idea if this is related to cloudflare dns delay i’m afraid. but to be clear,
   the problem is not only there for Autoptimized JS, but also CSS (cfr. my example)
   and I have even seen some other files 404 as well. maybe open a ticket at cloudflare?
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10338004)
 * Is the any issue during hosting change ? maybe some of files not moved Properly?
 * What do you mean “I have even seen some other files 404 as well.” ? which files?
 *  Plugin Author [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * (@optimizingmatters)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10338164)
 * > Is the any issue during hosting change ? maybe some of files not moved Properly?
 * the fact that it works most of the time, would indicate this is not a problem
   with a missing file no. moreover, the AO-files are created automatically, so ..
 * > What do you mean “I have even seen some other files 404 as well.” ? which files?
 * I saw one image file, which was redirected (HTTP 301) and then produced a “not
   found” (404).
 *  Thread Starter [buyacsgo](https://wordpress.org/support/users/buyacsgo/)
 * (@buyacsgo)
 * [8 years ago](https://wordpress.org/support/topic/404-errors-92/#post-10338335)
 * > I saw one image file, which was redirected (HTTP 301) and then produced a “
   > not found” (404).
 * Can you please give me screenshot for 404 image or URL ?
    -  This reply was modified 8 years ago by [buyacsgo](https://wordpress.org/support/users/buyacsgo/).
    -  This reply was modified 8 years ago by [buyacsgo](https://wordpress.org/support/users/buyacsgo/).

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

1 [2](https://wordpress.org/support/topic/404-errors-92/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/404-errors-92/page/2/?output_format=md)

The topic ‘404 errors’ 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/)

 * 19 replies
 * 2 participants
 * Last reply from: [Optimizing Matters](https://wordpress.org/support/users/optimizingmatters/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/404-errors-92/page/2/#post-10341521)
 * Status: not resolved