Title: Location error
Last modified: January 22, 2025

---

# Location error

 *  Resolved [anirudh5bs](https://wordpress.org/support/users/anirudh5bs/)
 * (@anirudh5bs)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/location-error-4/)
 * Hello
   Your plugin shows wrong location. I’m from India and when i add to cart,
   it is showing US or HK. I mean all guest users it showing like this. We have 
   wordfence and cloudflare setup, disabling both did not work, keeping only woocommerce
   and cartbounty (deactivating rest of the plugins) did not work.
 * ![](https://i0.wp.com/img001.prntscr.com/file/img001/loxH1iUsSZmZAxxaR8lj_Q.png?
   ssl=1)
 * ![](https://i0.wp.com/img001.prntscr.com/file/img001/m-4LMt_lTeCLAtIKfC_kyA.png?
   ssl=1)

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

 *  Plugin Contributor [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * (@nauriskolats)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/location-error-4/#post-18258318)
 * Hi [@anirudh5bs](https://wordpress.org/support/users/anirudh5bs/),
 * Thanks for reaching out. CartBounty relies on the data provided by WooCommerce
   geolocation service. Have you correctly enabled and updated [MaxMind geolocation integration](https://woocommerce.com/document/maxmind-geolocation-integration/)?
 *  Thread Starter [anirudh5bs](https://wordpress.org/support/users/anirudh5bs/)
 * (@anirudh5bs)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/location-error-4/#post-18260112)
 * Hi, yes it is configured
 * ![](https://i0.wp.com/img001.prntscr.com/file/img001/MmPoLkNPQ-exTXZIE3uXQg.png?
   ssl=1)
 * ![](https://i0.wp.com/img001.prntscr.com/file/img001/j4wuWaVsTcSxIizcALuLRQ.png?
   ssl=1)
 *  Plugin Contributor [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * (@nauriskolats)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/location-error-4/#post-18260517)
 * Hi, thank you for your response.
 * You could try changing “Default customer location” to “Geolocate (with page caching
   support)” and see if that makes a difference.
 * You should also check if your server or website is maybe using CDN which can 
   cause various caching issues including WooCommerce inability to properly geolocate
   customer’s IP address.
 *  Thread Starter [anirudh5bs](https://wordpress.org/support/users/anirudh5bs/)
 * (@anirudh5bs)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/location-error-4/#post-18311347)
 * Hello, i checked with changing “Default customer location” to “Geolocate (with
   page caching support)”, currently site is connected in cloudflare. is there any
   steps i need to do in cloudflare?
 *  Plugin Contributor [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * (@nauriskolats)
 * [1 year, 3 months ago](https://wordpress.org/support/topic/location-error-4/#post-18311377)
 * Hi [@anirudh5bs](https://wordpress.org/support/users/anirudh5bs/) and thank you
   for responding with additional details.
   Cloudflare indeed can affect WooCommerce
   Geolocation because Cloudflare acts as a proxy, meaning all requests to your 
   server come from Cloudflare’s IP addresses instead of the real visitor’s IP. 
   This can cause WooCommerce geolocation to detect Cloudflare’s IP rather than 
   the actual customer’s location.
 * since we do not have experience with Cloudflare, you should be better off looking
   into similar issues already posted online or reaching out to Cloudflare support
   to resolve the geolocation issue. Here are a few of the topics we were able to
   find about Cloudflare geolocation issues in WooCommerce:
   1) [Cloudflare incorrect geolocation for website](https://community.cloudflare.com/t/cloudflare-incorrect-geolocation-for-website/621707/1)
   2) [Geolocation for Woocommerce not working good with Cloudflare](https://community.cloudflare.com/t/geolocation-for-woocommerce-not-working-good-with-cloudflare/342097)
   3) [Cloudflare confusing GEO location plugin for wordpress / woocommerce](https://community.cloudflare.com/t/cloudflare-confusing-geo-location-plugin-for-wordpress-woocommerce/556451)

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

The topic ‘Location error’ is closed to new replies.

 * ![](https://ps.w.org/woo-save-abandoned-carts/assets/icon-256x256.gif?rev=2768009)
 * [CartBounty - Save and recover abandoned carts for WooCommerce](https://wordpress.org/plugins/woo-save-abandoned-carts/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-save-abandoned-carts/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-save-abandoned-carts/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-save-abandoned-carts/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-save-abandoned-carts/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-save-abandoned-carts/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Nauriskolats](https://wordpress.org/support/users/nauriskolats/)
 * Last activity: [1 year, 3 months ago](https://wordpress.org/support/topic/location-error-4/#post-18311377)
 * Status: resolved