Wordpress LScache Plugin: Fatal Error
Last Updated on: Wed, 15 Apr 2026 00:00:02 Hi, error when trying to activate the plugin. I have set the .htaccess permissions to 777 and add the provided codes to .htaccess but still not working Error message below: Warning: copy(.htaccess_lscachebak_orig): failed to open stream: Permission denied in ../wp-content/plugins/litespeed-cache/admin/litespeed-cache-admin-rules.class.php on line 348 ERROR 9042: .htaccess file not writable. Please add/replace the following codes into the beginning of .htaccess: # BEGIN LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## RewriteEngine on CacheLookup on RewriteRule . ? [E=Cache-Control:no-autoflush] RewriteRule ^min/ w+ .(css|js) ? [E=cache-control:no-vary] ### marker CACHE RESOURCE start ### RewriteRule wp-content/. /[^/] (responsive|css|js|dynamic|loader|fonts) .php ? [E=cache-control:max-age=3600] ### marker CACHE RESOURCE end ### ### marker FAVICON start ### RewriteRule favicon .ico$ ? [E=cache-control:max-age=86400] ### marker FAVICON end ### ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END LSCACHE Hello, Please check the owner of the file and the parent directory.
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference