Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:cache:lscps:installation [2017/10/06 20:54] Lauren Song [Installation] |
litespeed_wiki:cache:lscps:installation [2017/10/09 21:51] Lauren Song [.htaccess Update] |
||
---|---|---|---|
Line 17: | Line 17: | ||
===== .htaccess Update ===== | ===== .htaccess Update ===== | ||
+ | |||
+ | When you enable or disable LiteSpeed Cache from the plugin, ''.htaccess'' file should be automatically updated. If the update failed, most time due to file permission, you can update it manually. | ||
At the top of your ''.htaccess'' file, located in the document root of your PrestaShop installation, add the following: | At the top of your ''.htaccess'' file, located in the document root of your PrestaShop installation, add the following: | ||
<code> | <code> | ||
- | ## LITESPEED CACHE PLUGIN ## | + | # LITESPEED_CACHE_START Do not remove this comment line, LiteSpeedCache plugin will automatically update this block |
<IfModule LiteSpeed> | <IfModule LiteSpeed> | ||
CacheLookup on | CacheLookup on | ||
</IfModule> | </IfModule> | ||
- | + | # LITESPEED_CACHE_END | |
- | ## LITESPEED CACHE PLUGIN ## | + | |
</code> | </code> |