Wordpress LScache Plugin: Failed LiteSpeed Cache activation: Error ERROR 9042: .htaccess file not writable
Last Updated on: Wed, 15 Apr 2026 00:00:02 Here is the error message I received when attempting to activate the LiteSpeed Cache pulgin ERROR 9042: .htaccess file not writable. Please add/replace the following codes into the beginning of /wordpress/core/4.9.5/.htaccess: # BEGIN NON_LSCACHE ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## ### marker MINIFY start ### RewriteEngine on RewriteCond % DOCUMENT_ROOT % REQUEST_URI ^(. )/min/( w+) .(css|js)$ RewriteCond %1/wp-content/cache/$2/$1.$2 -f RewriteRule min/( w+) .(css|js) wp-content/cache/$2/$1.$2 [L] ### marker MINIFY end ### ## LITESPEED WP CACHE PLUGIN ? Do not edit the contents of this block! ## # END NON_LSCACHE Hi, Do you have any access to server ? SSH , ftp, cPanel, Plesk ?etc ? You can try change file permission to 644 and see how it goes. If you dont know how to do it , you could contact your hosting provider. Best regards,
LiteCache Rush: Speed comes from using less, not from doing it faster
Reference