Website DIY - tricks and solutions

Author: AW (page 1 of 4)

A WordPress cookie notice that is only displayed to EU visitors.

How to easily add a cookie consent bar to your Wordpress site that will only be displayed to visitors located in the European Union. Read More

Category: Wordpress    Tags:

CCA and Country Caching plugins: connecting alternative GeoIP system for country identification

Documentation coming soon. Example connection file for Amazon Web Services Cloudfront (file should be named “” and placed in your “/wp-content/cca_maxmind_data/” directory. <?php function cca_custom_lookup() { $GLOBALS['CCA_ISO_CODE'] = ''; if (! isset($_SERVER['CloudFront-Viewer-Country']) ) return 'Error: AWS Cloudfront is not providing country'; // check if it is a 'valid' country code if (ctype_alnum($_SERVER['CloudFront-Viewer-Country']) && strlen($_SERVER['CloudFront-Viewer-Country']) == ... Read More

Category: CCA PluginGeoIP    

CCA & Country Caching Plugins – changing server IP variable(s) used by Maxmind for country look up

Documentation coming soon. 1. Example file declaring that on your server “HTTP_X_FORWARDED” should be used to to identify visitor IP address (file should be named “” and placed in your “/wp-content/cca_maxmind_data/” directory. <?php $address_vars = array('HTTP_X_FORWARDED'); ?> 2. Example file declaring that on your server “REMOTE_ADDR” should be used to to identify visitor IP address; ... Read More

Category: CCA PluginGeoIP    

How to add new custom fields and values when editing posts and pages in WordPress.

Opening the post editor for a specific post or page and adding a new custom field and value is simple - once you know how. This post addresses two issues that can cause confusion the first time you try to add one of these fields. Read More

Category: SEOWordpress    

WordPress speed: how to add prefetch and prerender tags to posts & pages

Prefetch and prerender tags can make navigation of your site faster for visitors. See how to add these tags to your WordPress posts and pages. Read More

Category: Page SpeedWordpress    

A script to display your site’s IP related environment variables

Are your own IP checks (or a plugin's) failing to correctly identify your visitors's locations? It may be down to your specific server configuration.
Check how your site identifies visitor IPs by using this script. Read More

Category: PHPWordpress    

Customizing Navigation Menu links by visitor’s country (CCA Plugin How To Guide)

How to use the CCA plugin to customize your Wordpress Navigation Menu for visitors from specific countries. Read More

Category: GeoIPWordpress    

Cloudflare, WordPress & flexible SSL: a fix to enable login as HTTPS

Unable to login to Wordpress with HTTPS using Cloudflare flexible SSL? The claimed "solutions" I Googled only serve your browser an insecure HTTP login.

So, here's a solution that serves a secure HTTPS login page to your browser. Read More

Category: Wordpress    

The CCA goodies extension

The Goodies extension adds much more functionality and flexibility to your CCA plugin. What’s more, the current version is FREE for a tweet about the CCA plugin. [tab name=”CCA Extensions”] 1. Download, Install, and update notifications Extension Features: 2. Additional Sidebar Options 3. New “Ads/Text in Posts” widgets 4. Associating pages with existing or new ... Read More

Category: CCA Plugin    

GeoLocation and WP Super Cache: caching by page + visitor country, instead of just page

A Wordpress plugin that enables WP Super Cache to cache by page PLUS visitor country and display the correct country geo-location content, for your visitor. Read More

Category: GeoIPWordpress    Tags:
Older posts
Copyright © 2018  Means.Us.Com
This site recommends and is hosted by: Kualo Web Hosting.    
Theme: hemingway

Blog home  |  ↑ Top of Page ↑