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:lscxf2 [2019/05/15 18:03] Michael Alegre [Installation] Clarified installation instructions somewhat. |
litespeed_wiki:cache:lscxf2 [2019/05/15 18:11] Michael Alegre [Configuration] Improved cookie prefix explanation. |
||
---|---|---|---|
Line 15: | Line 15: | ||
Once you have downloaded and installed the plugin package, edit the ''.htaccess'' file in the XenForo root directory with the code shown below, making the following changes where appropriate: | Once you have downloaded and installed the plugin package, edit the ''.htaccess'' file in the XenForo root directory with the code shown below, making the following changes where appropriate: | ||
- | * Replace ''xf_user'' with the new value, if you changed it in XenForo Configuration. | + | * The default cookie prefix set for XenForo is ''xf_'', so all cookies set by xenForo will begin with this prefix (''xf_user'', ''xf_session_admin'', etc). If you have changed the cookie prefix in the XenForo configuration file, please make sure to update all ''xf_COOKIE_NAME'' cookies in the rewrite rules below to use the correct prefix. For example, if your set cookie prefix is ''myXF_'' you would update ''xf_user'' to ''myXF_user'' and so on. |
* If you want to cache for more or less than 360 seconds, change ''360'' to the number of seconds you wish. (Recommended < 10 minutes): | * If you want to cache for more or less than 360 seconds, change ''360'' to the number of seconds you wish. (Recommended < 10 minutes): | ||