Title: CSS frequently hitting 404 errors
Last modified: September 13, 2021

---

# CSS frequently hitting 404 errors

 *  Resolved [jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/)
 * (@jaythedesignhive)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/)
 * Hi,
 * We have an ongoing issue with quite a number of our sites now, whereby the CSS
   will often 404 and so the site looks awful.
 * We’ve tried tinkering with the settings across most of them, but it will randomly
   break and our customers will notify us that the site looks messed up. A quick
   look shows the CSS file(s) have hit a 404. A quick purge of the cache and everything
   goes back to normal.
 * Example before purging the cache – [https://prnt.sc/1s1uylp](https://prnt.sc/1s1uylp)
 * What we’re really struggling to figure out why this keeps randomly happening?
   All of our sites have automatic updates turned off, and the majority of them 
   have no admin access to the customer, so in theory once the site has had its 
   cache purged, nothing should change after that so A) why does the cache need 
   rebuilding if the site hasn’t changed at all, and B) why is it failing?
 * Any ideas what we should be looking for, or why the CSS wouldn’t get refreshed
   correctly?
 * Thank you
    -  This topic was modified 4 years, 8 months ago by [jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcss-frequently-hitting-404-errors%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14868184)
 * Hello [@jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/)
 * If you are not upgrading to lscwp v4.4 yet, please do that. Then please do a 
   Purge All and Purge All – CSS/JS Cache from the top bar menu button.
 * After this, if it still happens, please create a ticket here: [https://store.litespeedtech.com/store/submitticket.php](https://store.litespeedtech.com/store/submitticket.php).
   We may need to further check your site and server.
 * Best regards,
    Abe
 *  Thread Starter [jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/)
 * (@jaythedesignhive)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14878303)
 * Thank you, [@usabe](https://wordpress.org/support/users/usabe/)
 * We’ve updated all of our sites to v4.4 and will create a ticket should this happen
   again. Appreciate the support
 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14878624)
 * Hello [@jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/)
 * Please update to the latest dev instead. We found out v4.4 actually had another
   hidden bug which will also cause 404 error sometimes. Less often but it will 
   happen for some sites.
 * The latest dev version is v4.4.1-a2. Should be safe to upgrade to this one.
 * Best regards,
    Abe
 *  Thread Starter [jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/)
 * (@jaythedesignhive)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14879282)
 * [@usabe](https://wordpress.org/support/users/usabe/) Thanks. I’ve just pulled
   in the latest version using the ‘Use latest GitHub Dev commit’ button and it’s
   showing as 4.4.1-a4.
 * Is this version safe to use?
 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14879380)
 * [@jaythedesignhive](https://wordpress.org/support/users/jaythedesignhive/) Yes,
   it should be.
 *  [Maurice](https://wordpress.org/support/users/emiz0r/)
 * (@emiz0r)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14881048)
 * We have kinda the same problem with many clients lately, including our own website.
   The only way to fix this seems to go to WordPress LS Cache plugin > Toolbox >
   Choose “Empty all cache”, not “Purge all”. This seems to help the issue of randomly
   404 errors of .css files breaking the website.
 * I don’t get the difference. I’m sure from a technical standpoint there is a reason
   for this, but from user perspective its confusing.
 * Same goes for the solution mentioned above, what is the difference between:
 * “Purge All and Purge All – CSS/JS Cache” or;
    “Purge All”?
 * When I want to “Purge All Cache”, I guess I would like to purge all cache, not“
   Purge All Cache (except for the ultrasecret hidden for CIA CSS/JS)”.
 * Most WordPress users, I suspect +50%, are not very technical driven users and
   don’t see the difference. It it hard to explain all the different options in 
   purging.
 * Ofcourse open to idea’s!
    -  This reply was modified 4 years, 8 months ago by [Maurice](https://wordpress.org/support/users/emiz0r/).
    -  This reply was modified 4 years, 8 months ago by [Maurice](https://wordpress.org/support/users/emiz0r/).
    -  This reply was modified 4 years, 8 months ago by [Maurice](https://wordpress.org/support/users/emiz0r/).

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

The topic ‘CSS frequently hitting 404 errors’ is closed to new replies.

 * ![](https://ps.w.org/litespeed-cache/assets/icon-256x256.png?rev=2554181)
 * [LiteSpeed Cache](https://wordpress.org/plugins/litespeed-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/litespeed-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/litespeed-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/litespeed-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/litespeed-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/litespeed-cache/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Maurice](https://wordpress.org/support/users/emiz0r/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/css-frequently-hitting-404-errors/#post-14881048)
 * Status: resolved