Title: 404 Error with CSS
Last modified: September 18, 2021

---

# 404 Error with CSS

 *  [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/404-error-with-css/)
 * Hi,
 * I am currently experiencing CSS loading issues with the Litespeed Cache plugin.
 * It seems to have cached the path to a specific CSS file (combined CSS file) which
   doesn’t exist anymore.
 * In the browser console (Firefox & Chrome) it gives me a 404 error for the CSS
   file.
 * As per your documentation ([https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/](https://docs.litespeedtech.com/lscache/lscwp/ts-optimize/)),
   I’ve appended /?LSCWP_CTRL=before_optm to the website URL and then the website
   loads as intended.
 * When I then purge the cache the website loads again like normal.
 * Here are screenshots of the website and browser console:
    Browser Console: [https://imgur.com/a/6RsPvyr](https://imgur.com/a/6RsPvyr)
   Website: [https://imgur.com/a/ME7C30z](https://imgur.com/a/ME7C30z)
 * I’ve submitted a report to Litespeed. Here is the report number:
    Report number:
   RJLFNJHL
 * Your assistance in this matter is greatly appreciated.
    -  This topic was modified 4 years, 9 months ago by [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/).

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/404-error-with-css/#post-14792067)
 * Hi,
 * please:
 * download [https://www.litespeedshare.net/2021/08/92db40-debug.zip](https://www.litespeedshare.net/2021/08/92db40-debug.zip)
 * this package contains 3 modified files with more debug log enabled , for v4.3
   only.
 * please replace them into `/wp-content/plugins/litespeed-cache/src/` to override
   exsiting files
 * now edit `wp-config.php`
 * find line
 * `define('WP_DEBUG', false);`
 * add `;` in front it to comment it out , then add
 *     ```
       define('WP_DEBUG', true);
       define('WP_DEBUG_LOG', true);
       define('WP_DEBUG_DISPLAY',false);
       ```
   
 * after it
 * and then go to wp-admin -> LSCWP -> toolbox -> debug setting
 * set debug log to `admin IP only` and add your IP in below box
 * in “Debug URI Excludes” field ,add
 *     ```
       admin
       ajax
       ```
   
 * into it , save and purge all
 * and then wait for it happens again
 * once it happens , please send `/wp-content/debug.log` and PHP error log (typically
   located `/public_html/error_log` on cPanel) to `support at litespeedtech.com`
   with reference link to this topic
 * after that, please undo the change in the wp-config.php
 * ——–
 * if you want to get old version , you can get the files here [https://wordpress.org/plugins/litespeed-cache/advanced/](https://wordpress.org/plugins/litespeed-cache/advanced/),
   at bottom of the page, you can choose the version , but it is not recommended
   to downgrade
 * Best regards,
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/404-error-with-css/#post-14797596)
 * thanks , we will be waiting for you
 *  Thread Starter [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/#post-14818402)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) Thanks a lot for confirming
   that the isse exists and that it is being worked on.
 * I just wanted to find out, if you still need me to send the debug.log and error_log
   to Litespeed Support?
 * Do you maybe an estimate on when we can expect an update, as I have quite a few
   clients that run on Litespeed
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/#post-14821316)
 * Hi,
 * thanks, if you have them or can generate them , then it is great , and please
   send to `support at litespeedtech.com` with reference link to this topic
 * we have some idea about it already and are working on it , I don’t really have
   a timing for it right now , but I certainly want it to happen as soon as possible
 * Best regards,
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14825625)
 * Hi,
 * there is a patch for combined files 404 error in v4.4-rc4 , please upgrade to
   it and see how it goes
 * you can get it in toolbox -> beta test -> click “dev” and upgrade
 * Best regards,
 *  Thread Starter [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14826614)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/),
 * Thanks a lot for letting me know about the patch. I will implement it on the 
   websites and will let you know what it does.
 *  Thread Starter [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14834604)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) Yesterday I’ve updated all
   my WordPress websites, as there was a update notification for LiteSpeed Cache
   4.4 and then I also adjusted the LiteSpeed settings to what I need them to be.
   This morning the websites started to break again.
 * I’ve send an email to LiteSpeed support with the Report number and a link to 
   this thread.
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14836536)
 * if you still have that issue, please submit a ticket to our system , we will 
   investigate it further
 * [https://store.litespeedtech.com/store/submitticket.php](https://store.litespeedtech.com/store/submitticket.php)
 * Best regards,
 *  Thread Starter [michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/)
 * (@michaelsmartmove)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14841786)
 * [@qtwrk](https://wordpress.org/support/users/qtwrk/) I am already in contact 
   with your support team. Hopefully we can sort it out.
 *  Plugin Support [Hai Zheng⚡](https://wordpress.org/support/users/hailite/)
 * (@hailite)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14846969)
 * This is fixed in v4.4 version. Latest beta test both `dev` and `master` are v4.4
   already. Please try this version which will get released tomorrow.
 *  [Iqonic Design](https://wordpress.org/support/users/iqonicdesign/)
 * (@iqonicdesign)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14853388)
 * Hi [@qtwrk](https://wordpress.org/support/users/qtwrk/) [@hailite](https://wordpress.org/support/users/hailite/)
 * I updated the plugin to 4.4.
 * After 1 hour it broke again. The Js was giving a 404 error.
 * Please check!! Thank You!!
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/2/#post-14860650)
 * Hi,
 * for whom still have issue with v4.4
 * please [create a ticket](https://store.litespeedtech.com/store/submitticket.php)
   in our system , we will investigate it further.
 * Best regards,
 *  [usabe](https://wordpress.org/support/users/usabe/)
 * (@usabe)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/page/3/#post-14872553)
 * [@rayken](https://wordpress.org/support/users/rayken/) & all
 * Hai just gave it a fix in the latest dev version v4.4.1-a1.
 * If possible please give it a try to see with this new version if you will encounter
   the 404 again. Please remember to Purge All and Purge All – CSS/JS Cache after
   upgrading just to double confirm and make sure we start from a clean point.
 * [@michaelsmartmove](https://wordpress.org/support/users/michaelsmartmove/) For
   your site and server please do not upgrade to this one at this moment. Tomorrow
   I will update the debugging code accordingly and deploy to yours for continuous
   monitoring.
 * Best regards,
    Abe
 *  Moderator [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * (@jdembowski)
 * Forum Moderator and Brute Squad
 * [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/#post-14884781)
 * If you are not the person who started this topic and if you need support then
   per the forum guidelines please start your own topic.
 * [https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too](https://wordpress.org/support/forum-user-guide/faq/#i-have-the-same-problem-can-i-just-reply-to-someone-elses-post-with-me-too)
 * You can do so here.
 * [https://wordpress.org/support/plugin/litespeed-cache/](https://wordpress.org/support/plugin/litespeed-cache/)
 * I have archived many replies as this topic ran out of control and was no longer
   helping the original poster who reported the problem.
 * Start your own topics, that’s how the forums work here. If that does not work
   for you then use the link the developer provided and consider submitting a ticket
   on their site instead.

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

The topic ‘404 Error with CSS’ 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/)

 * 14 replies
 * 11 participants
 * Last reply from: [Jan Dembowski](https://wordpress.org/support/users/jdembowski/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/404-error-with-css/#post-14884781)
 * Status: not resolved