Title: Issue with CSS Minify Causing 404 Errors and Missing CSS Files
Last modified: March 23, 2025

---

# Issue with CSS Minify Causing 404 Errors and Missing CSS Files

 *  Resolved [chaseshc](https://wordpress.org/support/users/chaseshc/)
 * (@chaseshc)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/issue-with-css-minify-causing-404-errors-and-missing-css-files/)
 * Hi there,
 * After enabling **CSS Minify** and clearing the cache, I noticed that all CSS 
   files across the entire website are returning 404 errors. The paths for the CSS
   files are being generated as “/wp-content/litespeed/css/RandomString.css.”
 * Upon checking the server, I found that no CSS files are being generated at the
   specified path. Instead, I observed a directory within “/wp-content/litespeed/
   css” named with today’s date. Inside this directory, I found files named with
   random strings, but these files do not have the .css extension, and in some cases,
   they do not have any file extension at all.
 * [https://prnt.sc/sQa7QjDE2J1r](https://prnt.sc/sQa7QjDE2J1r)
 * Additionally, I have enabled **JS Minify**, and this feature appears to be working
   correctly. The “/wp-content/litespeed/js” directory does not contain any extra
   folders or issues.
 * Could you please assist in identifying and resolving this problem? Any insights
   or troubleshooting steps you could provide would be greatly appreciated.
 * Report number: **HCCQJFWB**

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/issue-with-css-minify-causing-404-errors-and-missing-css-files/#post-18377057)
 * this is interesting , does this happen right away every time you enable CSS minify?
 *  Thread Starter [chaseshc](https://wordpress.org/support/users/chaseshc/)
 * (@chaseshc)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/issue-with-css-minify-causing-404-errors-and-missing-css-files/#post-18377223)
 * Yes, this happens every time I enable CSS Minify. After enabling it and performing
   Purge All, the `/wp-content/litespeed/css` directory does not change at all—no
   new CSS files are generated.
 * I have attached a screenshot of the `/wp-content/litespeed/css` directory for
   reference.
 * [https://prnt.sc/kzGDQz9ItRzc](https://prnt.sc/kzGDQz9ItRzc)
 *  `/wp-content/litespeed/js` folder is functioning correctly directory after Purge
   All, and JS Minify works as expected.
 * [https://prnt.sc/qA-4AYT-_e2E](https://prnt.sc/qA-4AYT-_e2E)
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/issue-with-css-minify-causing-404-errors-and-missing-css-files/#post-18381266)
 * please create a ticket by mail to `support at litespeedtech.com` with reference
   link to this topic , we will investigate further

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

The topic ‘Issue with CSS Minify Causing 404 Errors and Missing CSS Files’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/issue-with-css-minify-causing-404-errors-and-missing-css-files/#post-18381266)
 * Status: resolved