Extends some caching plugins to cache by page/visitor country instead of just page. Solves "wrong country displayed" Geo-Location issues.
|Author:||Andrew Wrigley (profile at wordpress.org)|
|WordPress version required:||3.3|
|WordPress version tested:||4.8.1|
|Added to WordPress repository:||04-01-2015|
Click to start download
The easiest way is direct from your WP Dashboard like any other widget:
Once installed go to: “Dashboard->Country Caching”. Check the “Enable CC Country Caching add-on” box, and save settings.
If you want automatic “3 weekly” update of Maxmind Country->IP range data then also install the Category Country Aware plugin (here on WordPress.Org).
Where can I find support/additional documentation
Support questions should be posted on WordPress.Org
Additional documentation is provided at http://wptest.means.us.com/quick-cache-and-geoip-enable-caching-by-pagevisitor-country-instead-of-just-page/
How do I know its working
See these checks.
How do I keep the Maxmind country/IP range data up to date
Install the Category Country Aware plugin from WordPress.Org; it will update Maxmind data every 3 weeks.
Will it work on Multisites
Yes, it will be the same for all blogs (you can’t have it on for Blog A, and off for Blog B).
On MultiSites, the Country Caching settings menu will be visible on the Network Admin Dashboard (only).
How do I stop/remove Country Caching
Deactivating the plugin will remove the Caching Extension. Then clear the QC cache (Dashboard->QuickCache->Clear)
If all else fails:
- Log into your site via FTP; e.g. with CoreFTP or FileZilla.
- Delete this file: /wp-content/ac-plugins/cca_qc_geoip_plugin.php
- Delete this directory: /wp-content/plugins/country-caching-extension/
- Then via your WordPress Admin: Dashboard->QuickCache->Clear
Added checking of additional server variables for visitor’s IP Address.
Fixed display bug on “Support Tab” – extension info will now display even if Caching has not been enabled in Comet Cache.
Support Tabs “Display GeoIP data” now displays values of the server’s visitor IP variables
Modified for new Comet Cache. Previous version (0.8.0) still works, but this version has been modified to use the latest Comet Cache methods.
After update it is advisable to uncheck/save then check/save the “Enable CC” box on Country Caching Settings. Quick Cache (very old) is no longer supported.
Added option to enable the same cache to be used for a specified group of countries e.g. the European Union
Modified to work with re-designed ZenCache v150626. N.B. When ZC v150626 was first released it had a bug (patched in later downloads) if you are
using this version of ZC clear your cache after installing Country Caching 0.7.4
Maxmind data files are now auto installed (when you first enable Country Caching) in a shared directory for use by other plugins.
The data files are provided by Maxmind under Creative Commons license, but the WordPress.org repository requires all files stored there should be licensed under GPL. The Plugin has been altered to comply.
Compatability tweak for the new released Zen Cache – which turns out not to just be QC renamed but modified code. The add-on script generated by earlier versions of the Country Caching
(CC) plugin DOES work with Zen Cache; however the CC Settings form on these versions was incorrectly stating Zen Cache wasn’t present on your system.
Bugfix: 644 file permissions may be unsuitable for dedicated servers; now, if the plugin detects that other files on your server are set to 664 then the add-on script is granted 664 permissions
Improvements: More diagnostic information available.
Servers with “non standard permission” requirements – you will have option to save generated add-on script for your own FTP upload to directory
Bugfix: resolves compatibility issue with some GeoIP plugins.
If you are updating from version 0.5.0 you should uncheck/save then check/save the “Enable QC” box on Country Caching Settings and then clear cache via Quick Cache settings.
- First published version.