Wordpress LScache Plugin: LiteSpeed plugin creates .htaccess file in my symlinked WordPress folder
Last Updated on: Wed, 15 Apr 2026 00:00:02 I am using a single WordPress folder for multiple sites as illustrated below:- /sites |_ example1.com (document root) | |_ wp-content | |_ index.php | |_ wp => /wordpress (symlink) | |_ wp-config.php | |_ example2.com (document root) | |_ ... | /wordpress |_ wp-admin |_ wp-includes |_ ... |_ .htaccess (created by LiteSpeed plugin) LiteSpeed is creating/modifying the .htaccess file inside the WordPress folder (shared by all sites) instead of the root. Is there a configuration option or setting I can change to have LiteSpeed store its .htaccess file in the root of each site? This issue isnt directly related to LiteSpeed, but more so the way I have WordPress set-up, sorry about that! ?? The problem was the WordPress absolute path is set to /wordpress/ rather than /sites//wp. I had /wordpress/wp-config.php working as a proxy to load /sites//wp-config.php. The WordPress absolute path has already been set at this point by /wordpress/wp-load.php. The solution is to set the ABSPATH before WordPress loads, by setting an auto-prepend-file in .htaccess. https://www.php.net/manual/en/ini.core.php#ini.auto-prepend-file https://www.php.net/manual/en/configuration.changes.php There is another easier way maybe. If we give a setting to let you specify the frontend and backend htaccess path, will it help? Hi the path customize option is in https://github.com/litespeedtech/lscache_wp/commit/e81b9d1a0d3acbd3411ea58cd7d3ae7a7a30fc72 and will be in v3.0. Thanks for your feedback.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference