Generate Critical CSS Creating wrong urls




Wordpress LScache Plugin: Generate Critical CSS Creating wrong urls

Last Updated on: Wed, 15 Apr 2026 00:00:02
Have a site, https://domain.com Has pages at https://domain.com/page.php blog posts are at https://domain/articles/nameofarticle.php On the blog posts the generated critical css is being set to, background:url(../wp-content/themes/customtheme/assets/images/or-img.png) Which is the wrong url path as that then points to resulting in a 404 https://domain/articles/wp-content/themes/customtheme/assets/images/or-img.png when it should be, https://domain/wp-content/themes/customtheme/assets/images/or-img.png in the css file the style is set as, url(https://domain.com/wp-content/themes/customtheme/assets/images/signin-icon.png) How do I go about fixing this so that the generated css is using the correct paths for the images on all pages? Hi @cyberkiller6, could you please provide?your Report Number, found in?WP Admin > LiteSpeed Cache > Report and may I know is articles/nameofarticle.php real URI of the page you want to generate CCSS? We are going to upgrade the CCSS engine and this bug should be fixed, we want to do a test to confirm its the same issue.



LiteCache Rush: Speed comes from using less, not from doing it faster



Reference