基于IP国家/地区的WPML重定向让您显示用户理解的内容!
WPML:按IP位置(而不是浏览器语言)重定向急需的功能。
这与WPML浏览器检测选项有何不同?
我们不是检查浏览器语言,而是通过地址检查真实位置!
浏览器语言可能是错误的,因为一些居住在西班牙的人可以使用英语浏览器,这并不相关!
基于IP地址的WPML重定向如何工作?
当访问者进入您的网站时,我们会根据 IP 地址(而不是浏览器语言)自动检测国家/地区。
有两种作类型
- 通知消息 – 显示一个弹出窗口,其中包含“你好 { COUNTRY }” 以及您的自定义消息以及“以我的语言显示内容”和“不,谢谢”链接
- 重定向,恕不另行通知 – 自动为您的访问者切换语言
完全可配置 – 由您控制!
- 设置弹出文本并翻译它们(使用 WPML)
- 配置“确定”和“取消”按钮颜色
- 设置映射(为哪个国家/地区显示哪种语言)
立即与您的访客相关!购买基于IP的WPML重定向
请不要缓存!如果您不阅读本文,将不予退款:感谢您承认并接受无法将 geoip 与缓存一起使用。
Important: this can't work with a caching environment due to the dynamic nature of detecting IP Country which is different for every visitor. A caching plugin thinks everyone is from the same location. Geotargeting/Geolocation products will never play well with caching.
更新日志
v2.5 - Jan 2025 - updated geoip database
v2.4 - July 2024 - updated geoip database
v2.3 - Feb 2024 - updated geoip database
v2.2 - Nov 2023 - skipping bots & search engines when applying redirects
v2.1 - Aug 2023 - added support for IPv6 - updated geoip datatabase
v2.0 - May 2023 - updated geoip datatabase
v1.9 - Nov 2022 - updated geoip location database for better accuracy
v1.8 - June 2022 - geoip location database updated
v1.7 - Aug 2021 - geoip location database updated
v1.6 - Dec 2020 - update geo database - added session support so people can select their flag after initial redirect
v1.5 - Oct 2020 - Updated geolocation database
v1.5.1 - Sept 2020 - Updated geolocation database
v1.4 - Feb 2019 - Migrated to the new geolite2 database format - Updated geoip databases - You can now append /?geodebug=true to any url to see which IP/Country is detected for you ip (for debugging purposes)
v1.3.1 - Mar 2018 - Adjusted the redirect to take the current permalink instead of "to homepage" - So now if user lands from a country to /contact he'll get redirected to /en/contact (for example) instead of to homepage/en
v1.3.1 - Jan 2018 - A few people were getting loop issues due to incorrect URL detection by some servers: this was sorted. - Also added a few geodebug features for easier issue finding whenever you get in touch for support.
v1.2 - Nov 2017 - upgrade to subfolders structure
v1.1 - 10th Oct 2016 - added ability to translate popup messages
v1.0 - 3rd Oct 2016 - initial release
原文链接:https://www.hrdweb.com/52016.html,转载请注明出处~~~
评论0