WP Show Site by IP

March 17, 2024

WP Show Site by IP Plugin

Hide your Wordpress website to unknown IPs and replace it with a HTML page. Useful for developers to work online in private (e.g. maintenance).

Hide your WordPress website to everyone but easily allow to whoever you want to see it.

Why it’s useful

Sometimes you need to work directly on your online WordPress installation, like when you are developing or refining a theme for your site, and you don’t want others to see your work in progress, but at the same time you need to be able to see it from whatever place you find yourself!!!

What it does

This plugin allows you very easily to load a temporary HTML page for your website visitors, but it filters the IP of your connection and let you see your website and work on it.

Even better you don’t have to find out your IP and then save it on some sort of whitelist, you can simply add the string wpok to you url to automatically obtain the permission to see your website, without even knowing your IP!!!

That makes it easier to work on your website from many different places (e.g. if you work on it with other people from different locations) or if you have an internet connection with dynamic IP (everytime it changes you can easily add the new one).

How it works

After installed this plugin, you’ll find the submenu Show Site by IP on your website Dashboard, under the Tools menu.
That link open the plugin configuration page, where you can upload the full HTML of your temporary page and, when you are good to go, enable the IP filter.

Your IP will be automatically added to the whitelist in order for you to continue to use your website.

To allow the access to your website from your internet connection add the string ?wpok to the website URL, like this:

  • http://www.your-site.com?wpok

To remove your IP from the whitelist afterwards (and then go back to see the temporary page instead of your website) add the string ?wpko to the website URL, like this:

  • http://www.your-site.com?wpko

That’s it. =)

Installation

Automatic installation

Automatic installation is the easiest option as WordPress handles the file transfers itself and you don’t need to leave your web browser. To do an automatic install of this plugin, log in to your WordPress dashboard, navigate to the Plugins menu and click Add New.

In the search field type the title of this plugin and click Search Plugins. Once you’ve found it you can view details about it such as the the point release, rating and description. Most importantly of course, you can install it by simply clicking “Install Now”.

Manual installation

The manual installation method involves downloading the plugin and uploading it to your webserver via your favourite FTP application. The WordPress codex contains [instructions on how to do this here] (https://codex.wordpress.org/Managing_Plugins#Manual_Plugin_Installation).

Activation

Once it’s installed, you can activate the plugin clicking “Activate Now”

Screenshots

  1. General settings.

    General settings.

  2. Temporary page editors.

    Temporary page editors.

  3. Default temporary page, fully customizable.

    Default temporary page, fully customizable.

Changelog

2.4.0 – 03.03.2024

  • Added support for IP addresses with wildcards
  • Refactoring
  • Tested on WordPress 6.4.3

2.3.3 – 22.07.2023

  • Minor fix

2.3.2 – 22.07.2023

  • Bug fix: allow WP Cron to work even with the filter enabled

2.3.1 – 13.03.2023

  • Fixed translation loading

2.3 – 13.03.2023

  • Added possibility to manually edit the list of authorized IPs
  • Tested on WordPress 6.1.1

2.2.1 – 27.05.2022

  • Fixed plugin header

2.2 – 27.05.2022

  • Tested on WordPress 6.0

2.1.1 – 22.02.2017

  • Fixed minor bugs on italian translation

2.1 – 22.02.2017

  • Made the plugin translation ready
  • Added italian translation

2.0 – 19.09.2016

  • Improved editor for the temporary page
  • Customizable strings to gain and lose access
  • Added warning to notice when the filter is enabled
  • Added help screens
  • Some design changes

1.3.1 – 17.11.2015

  • Fixed bug on textarea field

1.3 – 18.08.2015

  • Added field for HTTP status customization
  • Fixed minor bug on textarea field

1.2 – 03.03.2015

  • Added HTTP 503 status for maintenance mode

1.1 – 17.02.2015

  • Added link to the plugin settings
  • Added warning with instructions

1.0 – 19.09.2014

  • Plugin file created

Details

  • Version: 2.4.0
  • Active installations: 80
  • WordPress Version: 3.0.1
  • Tested up to: 6.4.5
  • PHP Version: 5.3

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars