Benjamin Pick
Forum Replies Created
-
Forum: Plugins
In reply to: [Geolocation IP Detection] Integrate with conditions in Oxygen builderThe aim of the plugin is to facilitate the work of the plugin/theme developers – not primarily giving a turn-key-solution for any user (there are other, paid plugins with this aim). The Oxygen devs could easily integrate this if they want to.
Forum: Plugins
In reply to: [Geolocation IP Detection] WPEngine and plugin issuesIf the values are correct there, then it is a page caching issue. You could look into using the AJAX mode.
If not, then yes, you need to fiddle with the reverse proxy options.Forum: Plugins
In reply to: [Geolocation IP Detection] WPEngine and plugin issuesLook at the Reverse proxy debug site (settings > reverse proxy) and copy the informations there …
Forum: Plugins
In reply to: [Geolocation IP Detection] Integrate with conditions in Oxygen builderInteresting idea – however Oxygen is a paid plugin so not many users will profit from it. I would rather implement it as WordPress standard block (this is planned here but low priority: https://github.com/yellowtree/geoip-detect/issues/47)
But anyway, if you want to send a Pull Request, sure!
Forum: Plugins
In reply to: [Geolocation IP Detection] Does this work with html?This is a wordpress plugin so shortcodes etc. only work with wordpress.
However, if you can code JS you can enable the AJAX API in WordPress and then manually include the JS file to the HTML site …
https://github.com/yellowtree/geoip-detect/wiki/API:-AJAXForum: Plugins
In reply to: [Geolocation IP Detection] WP Rocket Cache Plugin Not WorkingIf you can code JS, use the AJAX mode …
https://github.com/yellowtree/geoip-detect/wiki/API:-AJAXOtherwise you will need to configure WP Rocket to not cache (blacklist) the sites where you need geoip detection.
Forum: Plugins
In reply to: [Geolocation IP Detection] Use with WPMLYou mean, automatically selecting the site language depending on the detected country? You could adapt this redirect example:
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples
And you will need to disable auto-detection from WPML (because it detects the language from the browser).
Forum: Plugins
In reply to: [Geolocation IP Detection] Entire Page ForwarderThis is possible e.g. when you adapt this PHP code:
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#redirect-depending-on-countryIf you use a caching plugin, you will need to redirect via ajax/js instead.
Forum: Plugins
In reply to: [Geolocation IP Detection] CachePlease show me a screenshot of your current options, otherwise it’s too much guesswork from my side.
(JS caching should be no issue, try disabling HTML caching from Autoptimize to see if it is the JS or HTML.)Forum: Plugins
In reply to: [Geolocation IP Detection] CacheThe plugin has an Web API-Cache (for Maxmind Precision, Hostinfo and Ipstack) – is this what you mean?
Otherwise, I can’t help you as this depends on the page caching plugin you use. Normally you can define URLs that should be excluded in the cache etc. and maybe even this is not necessary as GeoIP already tries to tell the caching plugin to not cache as soon as it is used (if the “disable cache”-option is enabled), so pages that do not call the geoip-PHP-functions will still be cached..
Forum: Plugins
In reply to: [Geolocation IP Detection] Wrong city after last updateYou can do it here:
Forum: Plugins
In reply to: [Geolocation IP Detection] Simulate visit from another countryAs this might be useful to others as well, I have added an extended example to the wiki:
https://github.com/yellowtree/geoip-detect/wiki/API-Usage-Examples#change-record-data-eg-for-testing-purposesForum: Plugins
In reply to: [Geolocation IP Detection] Simulate visit from another countryadd_filter('geoip_detect2_record_data', 'test_data', 12, 2); function test_data($data, $ip) { var_dump($data); }Forum: Plugins
In reply to: [Geolocation IP Detection] AJAX, JS, & Cached PagesThis will require custom coding, yes – mainly because I have no idea how a simple yet powerful way of configuring this would look like. Have you tried looking for other GeoIP plugins, there are some paid ones which have some redirect options …
Forum: Plugins
In reply to: [Geolocation IP Detection] City in Meta Description and Site TitleThis will probably not work for Google.
You will need to talk to a SEO-agency about this, they might have tools for doing so and the experience on what not to do in order to avoid Google penalty …