Title: splitmayo's Replies | WordPress.org

---

# splitmayo

  [  ](https://wordpress.org/support/users/splitmayo/)

 *   [Profile](https://wordpress.org/support/users/splitmayo/)
 *   [Topics Started](https://wordpress.org/support/users/splitmayo/topics/)
 *   [Replies Created](https://wordpress.org/support/users/splitmayo/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/splitmayo/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/splitmayo/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/splitmayo/engagements/)
 *   [Favorites](https://wordpress.org/support/users/splitmayo/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/page/2/#post-14212423)
 * not working :(, if you acces to the website you will see the prices in clp, what
   would be the issue?
 * you can acces to the page in this [link](https://cursademy.cl/)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/page/2/#post-14212284)
 * sorry ofr late reply, i added the following rule:
 * <IfModule LiteSpeed>
    RewriteEngine on RewriteRule .* – [E=Cache-Control:vary
   =%{ENV:HTTP_CF_IPCOUNTRY}] </IfModule>
 * i get this header in the phpinfo.php file
 * $_SERVER[‘HTTP_CF_IPCOUNTRY’] XX
 * [https://ibb.co/JC3Hzzw](https://ibb.co/JC3Hzzw)
 * its correct?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209636)
 * i created the phpinfo, and enabled a module geoip, and only get this:
 * [https://ibb.co/19JN63D](https://ibb.co/19JN63D)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209620)
 * i have cloudflare enabled and linked with litespeed plugin, the rules is not 
   working, i think is beacause there is not a “CF-IPCountry ” name and value in
   the headers? if all where fine, i will find this value in headers ? (CF-IPCountry)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209582)
 * Not working for me 🙁 , im doing something wrong?
 *     ```
       <IfModule LiteSpeed>
       RewriteEngine on
       RewriteRule .* - [E=Cache-Control:vary=%{HTTP:CF-IPCountry}]
       </IfModule>
       # BEGIN LSCACHE
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       ```
   
 * i need to do some config in cloudflare?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209567)
 * there is an alternative way? i dont have the knowledge and the permissons for
   that :(, im in a shared hosting enviroment.
 * thanks for your reply
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209546)
 * so, for ggeo vary the code for htaccess will look like this? its correct?
 *     ```
       <IfModule LiteSpeed>
         RewriteEngine on
         CacheLookup on
         RewriteRule .* - [E=Cache-Control:vary=%{ENV:GEO_COUNTRY}]
         RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency]
       </IfModule>
       ```
   
 * thanks in advance
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209439)
 * So, does the cache vary according to geolocation?
 * why is not working in my case?
 * there is a rewriterule tat excludes from cache?
 * thanks a lot for your support
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Exclude plugin from being cached](https://wordpress.org/support/topic/exclude-plugin-from-being-cached-2/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/exclude-plugin-from-being-cached-2/#post-14209431)
 * Not working, when i add the cookie like this:
 * wmc_current_currency
    wordpress_lp_cart
 * Etc.
 * Its correct?
 * by the way, when i add the cookies like this, the headers says the following:
 * x-litespeed-cache-control: miss
    an endless miss
 * KJCFZMMP
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209414)
 * this rule i put:
    `RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency]`
 * it caches the whole page.
    its supposed that code will exclude the cache for 
   a price based in geolocation, for example if you access to the page in chile,
   you will see the price in CLP. but if you access from europe, or argentina, you
   will se the price in USD.
 * and this is not working. what im doing wrong?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] issues with htaccess](https://wordpress.org/support/topic/issues-with-htaccess-3/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/issues-with-htaccess-3/#post-14209209)
 * i have the following code on my .htaccess file:
 *     ```
       <IfModule LiteSpeed>
       CacheLookup on
       RewriteRule .* - [E=Cache-Vary:woocommerce_current_currency]
       </IfModule>
       # BEGIN LSCACHE
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       <IfModule LiteSpeed>
       RewriteEngine on
       CacheLookup on
       RewriteRule .* - [E=Cache-Control:no-autoflush]
       RewriteRule \.object-cache\.ini - [F,L]
   
       ### 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 ###
   
       ### marker DROPQS start ###
       CacheKeyModify -qs:fbclid
       CacheKeyModify -qs:gclid
       CacheKeyModify -qs:utm*
       CacheKeyModify -qs:_ga
       ### marker DROPQS end ###
   
       </IfModule>
       ## LITESPEED WP CACHE PLUGIN - Do not edit the contents of this block! ##
       # END LSCACHE
       ```
   
 * ¿What im doing wrong?
 * this is my ticket number:
    KJCFZMMP
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[LiteSpeed Cache] Exclude plugin from being cached](https://wordpress.org/support/topic/exclude-plugin-from-being-cached-2/)
 *  Thread Starter [splitmayo](https://wordpress.org/support/users/splitmayo/)
 * (@splitmayo)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/exclude-plugin-from-being-cached-2/#post-14208613)
 * what do you mean ?, you mean not exclude cookies?

Viewing 12 replies - 1 through 12 (of 12 total)