We just discovered a cool plugin called Restricted Site Access.
As the name suggests, the plugin helps you to restrict site access to certain IP. According to the author, this plugin will be a great solution for Extranets, publicly hosted Intranets, or parallel development / staging sites.
The settings page for this plugin isn’t so obvious. Once activated, you’ll see new additional settings from the Reading settings page. It can be accessed from Settings
> Reading
.
At the very bottom of the settings page, you’ll see an input field to whitelist any single IP address of range of IP address. Furthermore, for restricted visitors (those not in the whitelist IP), you can choose whether to send them to login page, redirect to specific site, show a simple message or redirect them to a specific WordPress page.
Futhermore, if you’d like to unrestrict specific parts of the site, there’s restricted_site_access_is_restricted filter to override the default setting. Please see the FAQ page for more information.
Leave a Reply