Just another contact form plugin. Simple but flexible.
About Restricted Site Access
This plugin allows you to limit access to your website to only logged-in users or specific IP addresses. You can choose to redirect restricted visitors to the login page, display a custom message or page, or redirect them to a different location. It also offers additional configuration options for multisite networks.Screenshots



Frequently asked questions
Is it possible to customize the redirect for SEO?
You can customize the redirect location, including an option to send visitors to the same requested path. Additionally, you can set the HTTP status code for SEO friendliness.
Changelog
7.6.4 – 2026-10-14
BREAKING: Restricted sites now return a 401 JSON error for anonymous REST API requests instead of redirects/HTML. API clients, MCP clients, mobile apps, and headless front ends may need to authenticate or update error handling.
- Added: Restricted REST API requests now return a 401 JSON error (403 for logged-in users without access) instead of the configured redirect, message or page. New
restricted_site_access_use_rest_responseandrestricted_site_access_rest_responsefilters (#447). - Changed: REST API requests to a restricted site no longer go through the
restricted_site_access_message,restricted_site_access_redirect_urlorrestricted_site_access_headfilters. Sites that used those to handle API requests should move to the new filters, or return false fromrestricted_site_access_use_rest_responseto keep the old behavior (#447). - Security: Resolve GHSA-88hj-qmx6-c77f (GHSA-88hj-qmx6-c77f).
7.6.3 – 2026-09-28
- Fixed: Remove filter flags from applying to the
REMOTE_ADDRheader (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-jrf7-cq25-hc3x) - Security: Resolve GHSA-x79x-6v7g-xww7 (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-x79x-6v7g-xww7)
- Security: Resolve GHSA-mhr2-3fc8-g999 (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-mhr2-3fc8-g999)
- Security: Resolve GHSA-jrf7-cq25-hc3x (props @dkotter, @jeffpaul, @peterwilsoncc via GHSA-jrf7-cq25-hc3x)
7.6.2 – 2026-08-27
Note that this version bumps the WordPress minimum supported version from 6.6 to 6.9.
- Fixed: Allow programatic changes to first allow-listed IP address label. (props @thisismyurl, @jeffpaul, @peterwilsoncc via #419)
- Changed: Bump tested up to header to indicate WordPress 6.9 support. (props @peterwilsoncc, @dkotter via #379)
- Changed: Bump WordPress “tested up to” version 7.0 (props @phpbits, @dkotter, @peterwilsoncc via #404)
- Changed: Bump tested up to header to indicate WordPress 7.1 support (props @phpbits, @jeffpaul, @peterwilsoncc via #428)
- Changed: Increase minimum supported WordPress version from 6.6 to 6.9 (props @phpbits, @jeffpaul, @peterwilsoncc via #428)
