WordPress.org

Plugin Directory

Gatekeeper

Gatekeeper allows administrators to take a WordPress site offline while leaving it accessible to authorized users for maintenance, testing, etc.

Why was this plugin developed?

I needed a "coming soon" page for a site I was working on but also needed to be able to use WordPress myself in order to test themes, designs, etc. The existing landing page themes are nice, unless you also need to be able to test a theme without letting the world see. At first, I added some PHP code into the WordPress index.php file to redirect all but my IP address to the coming soon page, but WP upgrades opened my site to the world. Editing the htaccess file is an option, but it's extra work and only works until my IP address changes. So...I created Gatekeeper.

Can I redirect visitors to an existing WordPress page?

No. Gatekeeper protects all WordPress pages (except admin and login pages) from everyone but those whitelisted, so redirecting to a WordPress page would create an undesirable redirect loop.

How do I use an offline page?

The offline page can be any web-friendly page: HTML, PHP, text, etc. It's not required, but recommended, to keep this file in a separate directory to keep it from being confused with WordPress files.

Can Gatekeeper protect non-WordPress pages?

No.

Help! It doesn’t work!!

If the plugin doesn’t appear to be working, first check your whitelist. Make sure you’re not testing from a whitelisted IP address. If Auto-Protect Admin IP is checked, the plugin will attempt to automatically whitelist your IP address and let you see the site normally. If you have Whitelist Logged-in Admins checked, the plugin will let you view the site normally as long as you are logged into WordPress. The plugin is designed to do its best to not lock you out of your own site.

Requires: 3.0 or higher
Compatible up to: 4.1.5
Last Updated: 2015-3-11
Active Installs: 1,000+

Ratings

3.7 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,2,2
67,3,2
100,1,1
100,1,1
100,1,1
100,1,1
100,1,1