このユーザーにはお気に入りトピックがありません。
お気に入りのフォーラム・トピック
フォーラム・トピックの作成
状況 |
トピック
|
サポーター | 声 | 投稿文 | 新鮮さ |
---|---|---|---|---|---|
The automatic currency switching by country doesn’t work on Nginx Reverse Proxy
によって始められた: saudA-6
にある: English Support
Problem: Switching the currency based on the client's location doesn't work on Nginx Reverse Proxy Solution: WooCommerce Multilingual & Multicurrency plugin uses the built-in API in WooCommerce for geolocation: https://woocommerce.github.io/code-reference/files/woocommerce-includes-class-wc-geolocation.html#source-view.80. So what is happening on your website is the server's IP is being served instead of the actual user IP. That means the website will see every user visiting the website is located in the US. We came across a helpful document at https://ypereirareis.github.io/blog/2017/02/15/nginx-real-ip-behind-nginx-reverse-proxy/ that provides instructions on obtaining the actual user IP. Kindly review the document and let us know how it goes. |
2 | 9 | 1年、 8ヶ月前 | ||
Currency switcher in the main menu
によって始められた: saudA-6 にある: English Support |
2 | 3 |
1年、 8ヶ月前
saudA-6 |