Skip to main content
Black Friday Get 50% extra hosting credits. Pay $99, get $150. 50% extra credits 50% extra credits 2d 17h left Get $150 for $99Get it
Restricted Site Access icon

Restricted Site Access

v7.6.4
by 10up · 4.8 (62 reviews)

Limit access to visitors who are logged in or allowed by IP addresses. Includes many options for handling blocked visitors.

10K+ active installs Updated Oct 14, 2026 Tested to 7.1.5 Requires PHP 7.4
Try Demo Download
Pre-installed Ready in ~10s No card
Restricted Site Access

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

Restricted Site Access screenshot
Restricted Site Access screenshot
Restricted Site Access screenshot

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_response and restricted_site_access_rest_response filters (#447).
  • Changed: REST API requests to a restricted site no longer go through the restricted_site_access_message, restricted_site_access_redirect_url or restricted_site_access_head filters. Sites that used those to handle API requests should move to the new filters, or return false from restricted_site_access_use_rest_response to keep the old behavior (#447).
  • Security: Resolve GHSA-88hj-qmx6-c77f (GHSA-88hj-qmx6-c77f).

7.6.3 – 2026-09-28

7.6.2 – 2026-08-27

Note that this version bumps the WordPress minimum supported version from 6.6 to 6.9.

View historical changelog details here.

Try other plugins

Yoast SEO icon

Yoast SEO

4.8 · 10M+ installs

Improve your WordPress SEO: Write better content and have a fully optimized WordPress site using the Yoast SEO…

$750 of hosting credits for $499.Black Friday