Hosting Provider Recommends Editing .htaccess file
-
Hi Support,
My host is running litespeed and therefore I have decided ditch the caching & minifying plugins to try out LS Cache.
The host recommends editing the .htaccess file to remove the default config.
I was happy to do this but the config now has additional lines than that shown in the instructions (post is from August 2018).I reached out to their support and they said it “should be fine” but recommended I ask the question here. Not great help were they!
The extra ines in the .htaccess file are to do with minifying.
Here are the addtional lines not shown in tutorial link below:### marker MINIFY start ###
<IfModule mod_rewrite.c>
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]
</IfModule>
### marker MINIFY end ###Instruction Link from host: https://support.crucial.com.au/en/knowledgebase/article/install-litespeed-cache-for-wordpress
I hope someone can tell me if editing the .htaccess file is still necessary and is the instruction outdated?
Thank you,
John ??The page I need help with: [log in to see the link]
- The topic ‘Hosting Provider Recommends Editing .htaccess file’ is closed to new replies.