WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Vikas Sharma v5.3

Show Visitor IP

Show Visitor IP - Simply display visitor IP Address & visitor another location info using by IP on post or page, anywhere using shortcode.

Show Visitor IP

The facts

Rating
3.8★ from 6
Active installs
300+
Price
Free
Last updated
19 Aug 2026
Added
Aug 2017
Requires WP
3.0
Tested up to
WP 7.0.4
Requires PHP
5.6
Downloads
9,763

Our analysis

AI-assisted

Show Visitor IP is a WordPress plugin that displays the IP address and location information of visitors on your site using shortcodes. It sends the visitor's IP address to a third-party geolocation service to retrieve location data, which can be displayed anywhere on your posts or pages. The plugin is designed for users who want to provide location-based information to their audience while ensuring compliance with privacy regulations, such as GDPR.

The plugin is lightweight and easy to install, making it suitable for users with varying technical expertise. It offers caching for IP lookups to minimise external requests and has options for configuring how IP addresses are handled, especially for sites behind proxies or CDNs.

Best for: This plugin suits website owners who want to display visitor IP and location data on their WordPress site.

What it does well

  • Displays visitor IP address and location info
  • Uses shortcodes for easy integration
  • Lightweight and simple to install
  • Caches IP lookups for 12 hours
  • Offers configuration options for advanced users

Where it falls short

  • Limited information available about features
  • Requires external services for location data

Verdict

Show Visitor IP is a straightforward solution for displaying visitor information. It is particularly useful for those looking to enhance user engagement with location-based content.

From the developer

Vikas Sharma's own description of Show Visitor IP, lightly tidied.

This plugin simply display Visitor IP Address & visitor location info using by visitor IP on post or page, anywhere using shortcode.

Very simple to install, simple to use, light weight.

External services

The location shortcodes ([svip_location]) need to resolve the visitor IP address into a location. To do that, the plugin sends the visitor IP address to a third party geolocation service over HTTPS. No other data is transmitted, and nothing is sent unless a location shortcode is actually used on the page. Because an IP address is personal data in some jurisdictions (for example under the GDPR), you should mention this in your own privacy policy.

Two services are used, neither of which needs an account or an API key:

  1. ipwho.is (primary) – https://ipwhois.io/ – terms: https://ipwhois.io/terms – privacy: https://ipwhois.io/privacy – 1,000 requests per day, commercial use allowed.
  2. freeipapi.com (fallback) – https://freeipapi.com/ – terms: https://freeipapi.com/terms – 60 requests per minute, commercial use allowed.

The fallback is only contacted when the primary is unreachable or does not carry the value a shortcode asked for. In practice ipwho.is answers everything except type="currency", which it does not provide, so a page that does not use the currency shortcode never contacts freeipapi.com at all.

Lookups are cached for 12 hours per IP address and shared between all shortcodes on a page, so a returning visitor causes no requests at all.

The plain [show_ip] shortcode does not contact any external service.

Page caching

The output of these shortcodes is different for every visitor. The plugin therefore sets the DONOTCACHEPAGE constant when a shortcode is rendered, which most caching plugins honour, so a page showing an IP address is not stored and served to other people. If your caching setup ignores that constant, exclude those pages from the cache manually.

Sites behind a proxy or CDN

By default only REMOTE_ADDR is used, because the HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR headers can be forged by the visitor. If your site sits behind a reverse proxy, load balancer or CDN that sets those headers, opt in by adding this to wp-config.php:

define( 'SVIP_TRUST_PROXY_HEADERS', true );

Filters

  • svip_get_ip – filter the detected IP address.
  • svip_trust_proxy_headers – enable or disable the proxy headers.
  • svip_providers – reorder, remove or add geolocation services, for example a paid endpoint with an API key. Each entry is an array of url (with %s where the IP goes) and parse (a callback turning the decoded response into the plugin’s field names).
  • svip_request_timeout – change the per request timeout, 3 seconds by default.
  • svip_cache_lifetime – change how long a location lookup is cached.
  • svip_disable_page_cache – return false to stop the plugin setting DONOTCACHEPAGE.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for making sites fast.

WP-Optimize

Get caching and more with this powerful cache plugin. Cache, optimize images, clean your database and minify f...

Free 1M+ installs 4.8★ (2,606)
LiteSpeed Cache

All-in-one unbeatable acceleration & PageSpeed improvement: caching, image/CSS/JS optimization...

Free 7M+ installs 4.8★ (2,764)
EWWW Image Optimizer

Comprehensive image optimization with WebP, AVIF, Lazy Load, and more. Optimize images automatically for Faste...

Free 1M+ installs 4.8★ (1,838)
Under Construction

Easy to use Under Construction Page & Coming Soon Page. Enable Under Construction Mode in seconds & sh...

Free 600k+ installs 4.8★ (1,285)
Smush

Smush

93

Compress and optimize images, enable lazy load, serve WebP & AVIF, and speed up your site with a global im...

Free 1M+ installs 4.8★ (6,051)
Converter for Media

Speed up your website by using our WebP & AVIF Converter. Optimize images and serve WebP and AVIF images i...

Free 500k+ installs 4.9★ (1,097)