Advanced Country Blocker
Advanced Country Blocker helps you secure your WordPress site by restricting access based on the visitor’s geolocation (country) or IP address. Upon activation, the plugin detects the activating admin’s country and automatically sets that as the only allowed country. All other visitors from different countries are blocked, unless they use a secret key parameter to temporarily whitelist their IP. Country detection uses the privacy-friendly ip-api.com service by default but can be switched to a fully offline MaxMind GeoLite2 (or compatible) database file once you configure a local copy. Key Features: Automatically allows the admin’s country on plugin activation. Flexible IP-to-country lookups – start with the built-in ip-api.com integration and optionally switch to an offline MaxMind GeoLite2 Country (or compatible) .mmdb database file. Allowlist or blacklist mode – choose whether the country list acts as an allowlist or blocklist without re-entering countries. Temporary access via a customizable secret URL parameter (e.g., ?MySecretKey=1). CAPTCHA Challenge – allow blocked visitors to solve a CAPTCHA to gain temporary access (supports Google reCAPTCHA v2/v3, hCaptcha, Cloudflare Turnstile). Real-Time Activity Monitor – live dashboard showing active visitors, recent blocks, and traffic statistics. Analytics Dashboard – comprehensive charts and statistics about blocked attempts. Manual blacklisting and safelisting of IPs for added security and to accommodate uptime monitors. Optional email alerts when new visitors are blocked. Admin bypass so logged-in admins can always access the site (toggleable in the code). Detailed logging of blocked attempts in a custom database table, displayed in the WP admin. Custom response controls – personalise the block page title/message, choose the HTTP status (403, 410, 451) or redirect to any URL. Automatic log cleanup with configurable retention plus a one-click “Clear Logs” button. Use the plugin settings page (Country Blocker menu in WP admin) to configure the list of allowed countries, blacklisted countries, blacklisted IPs, and whether email alerts are enabled. License This plugin is open-sourced software licensed under the GPLv3 or later. External Services By default this plugin contacts the ip-api.com geolocation service to detect visitor countries. You can disable all external lookups by switching the IP lookup method to the local MaxMind database in the settings.
Top keywords
- country9×2.51%
- admin5×1.39%
- blocked5×1.39%
- countries5×1.39%
- access4×1.11%
- database4×1.11%
- visitors4×1.11%
- com3×0.84%
- ip3×0.84%
- ip-api3×0.84%
- ip-api com3×0.84%
- maxmind3×0.84%
SlimStat Analytics
Most analytics plugins quietly hand your visitors to someone else’s cloud. SlimStat doesn’t. Every pageview, click, and visitor lands in your own WordPress database and stays there: yours to read in real time, yours to purge whenever you want, never shipped off to Google or anyone else. See the whole story the moment it happens: who’s on your site right now, where they are in the world, what they’re reading, and which links they follow on the way out. Set a goal and watch it convert, or chain a few steps into a WooCommerce funnel and see exactly where people slip away. It’s the depth you’d expect from a hosted analytics service, running entirely on your own terms. Best part: privacy isn’t a setting you have to hunt for. Anonymized IPs, Do Not Track, a consent banner, and scheduled data cleanup are GDPR-ready from the first activation. Thousands of WordPress sites already trust SlimStat to keep their analytics honest, fast, and entirely their own. Main Features Real-time access log — Your site’s pulse, live. Watch each visit land the instant it happens: the page, the spot on the map, the search or link that sent them, how quickly your server replied, human or bot. Complete access log — Every visit in one searchable table. Drill into the full history and break it down by date, country, browser, OS, referrer, search term, or content type to answer the questions the summary charts can’t. Goals & funnels — Turn raw traffic into answers. Define a goal to measure a conversion (a WooCommerce sale, a signup, a key pageview) and see uniques, totals, and conversion rate. Or chain steps into a funnel to spot exactly where visitors drop off. One goal is free; up to five goals and full funnels unlock with Pro. Outbound link report — See which external links actually earn clicks. SlimStat records every outbound link your visitors follow, so you know what’s sending traffic off your site and which partnerships pull their weight. Know your visitors — Go past pageviews to the people behind them: returning readers, logged-in users, and a full audience breakdown by country, language, browser, OS, and screen size. (Pro’s User Overview adds per-visitor journeys, time on site, and Gravatars.) Your data, your server — No third-party cloud, no Google looking over your shoulder. Every byte lives in your WordPress database, and one-way IP hashing lets you count unique visitors without ever storing who they are. GDPR, sorted — Anonymize or hash IPs, honor Do Not Track, auto-purge old records on a schedule, and drop in a translatable consent banner that snaps straight into the WP Consent API (WPML and Polylang welcome). Compliance by design, not an afterthought. Admin bar stats — Keep an eye on the numbers without leaving your work. Online visitors, pageviews, and top pages sit one glance away in the WordPress admin bar, on every screen. Make every report yours — Rearrange, add, or hide widgets across Real-Time, Overview, Audience, Site Analysis, and Traffic Sources until each screen shows exactly what you care about. Shortcodes — Drop any report into a widget, post, or page with a single shortcode. Filters — Decide who counts. Skip your own team, known bots, whole IP ranges, admin pages, or entire countries so your stats reflect real visitors, not noise. Geolocation — Put a city and country to every visitor, plus their browser and operating system, powered by MaxMind and Browscap. World map — Watch your audience light up across the globe at a glance, even from your phone (map by JQVMap). Export & email — Download your reports as CSV files, generate user heatmaps, or get the day’s numbers in your inbox each morning (heatmaps and email reports via Pro). Cache-friendly — Plays nicely with W3 Total Cache, WP Super Cache, Cloudflare, and most caching plugins. Pro Pack Features Love the free plugin? Pro is for sites that live by their numbers. It adds the heavier tools without changing a thing about how SlimStat respects your data: Email reports — Wake up to the numbers that matter. Schedule the reports you care about and have them land in your inbox as clean HTML tables, with the columns laid out your way. Heatmaps — See exactly where visitors click, and where they don’t, with a heatmap layer painted right over your live pages. User overview — Follow individual registered users: what they viewed, how long they stayed, and how fast your server answered, with Gravatars to put a face to the visit. Extended overview — Add your own columns to the User Overview report and export file, so it tracks exactly what your site cares about. More goals & funnels — Up to five conversion goals and three full funnels, with ready-made templates for WooCommerce checkout, signups, and content engagement. Network analytics — Run reports and settings across an entire multisite network from one place. MaxMind integration — Connect MaxMind’s geolocation API for richer, more precise detail on where your visitors come from. Custom database — Store all your analytics in a separate, external database to keep your main WordPress DB lean. Export to Excel — Download any report as a ready-to-share Excel file. Requirements WordPress 5.6+ PHP 7.4+ MySQL 5.0.3+ At least 5 MB of free web space (240 MB if you plan on using the external libraries for geolocation and browser detection) At least 10 MB of free DB space At least 32 Mb of free PHP memory for the tracker (peak memory usage) Please note If you decide to uninstall Slimstat Analytics, all the stats will be PERMANENTLY deleted from your database. Make sure to setup a database backup (wp_slim_*) to avoid losing your data. Report Bugs Having trouble with a bug? Please create an issue on GitHub. Kindly note that GitHub is exclusively for bug reports; other inquiries will be closed. For security vulnerabilities, please report them through the Patchstack Vulnerability Disclosure Program. The Patchstack team will validate, triage, and handle any security issues.