Wordpress LScache Plugin: Custom path
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, I installed wordpress in public_html then moved to a custom foloder ( landing) and path changed to ?/public_html/landing/? For this change I used the info displayed here (method 1): https://codex.wordpress.org/Giving_WordPress_Its_Own_Directory Problem is that LiteSpeed Cache is not aware of this path change and does not find any of my files. (css/js etc) For example combine CSS is broken. 02/10/19 09:16:21.448 [ip:62032 1 cZC] [Optm] https://mydomain/wp-includes/css/dist/block-library/style.min.css 02/10/19 09:16:21.448 [ip:62032 1 cZC] [Util] file not exist: /home/mydomain/public_html/wp-includes/css/dist/block-library/style.min.css How can I add this custom path to LiteSpeed Cache settings? Thanks This topic was modified 3 years, 9 months ago by upbit. Hi @upbit, If you are using .htaccess rewrite to subdirectory, you need to add define( LITESPEED_WP_REALPATH, /sub_directory ) in wp-config.php Stanley
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference