Private Page Forbidden icon
Utilities

Private Page Forbidden

Instead of serving a 404 Not Found error with the 404.php template, send a 403 Forbidden error and set $wp_query->is_403 and load 403.

Developer Weston Ruter
27 Needs attentionmaintenance
  • 19 yearson WordPress.org
  • 30plugins
  • 337,020+installs in total
  • 4.0★avg. rating (493)
  • 17%of plugins updated this year
5/14 badges Profile →

Not recommended for new sites

Is Private Page Forbidden still safe to use?

  • Problem: Not maintained Last updated 17 years ago (version 0.2).
  • Problem: Not tested with recent WordPress Tested up to WordPress 2.8; the current release is 7.1.
  • Note: Few reviews so far No ratings on WordPress.org yet.

For a new site, or if you are planning a rebuild, choose a plugin that is still maintained. Unmaintained plugins stop getting security fixes and tend to break as WordPress and PHP move on.

No maintained plugin does exactly the same job. We checked the directory for an actively updated, well-rated plugin with the same features and didn't find a safe match.

If your site depends on Private Page Forbidden, we can update it for current WordPress and PHP versions, review it for security problems, or rebuild the feature you need.

Get it updated Check all your plugins

Overview

Private Page Forbidden describes itself as: “Instead of serving a 404 Not Found error with the 404.php template, send a 403 Forbidden error and set $wp_query->is_403 and load 403.”

Developers can extend it through 0 actions and 1 filters, listed below.

We haven't published a hands-on review of Private Page Forbidden yet. Want one, or need help with it? Send us a request.

How to install Private Page Forbidden

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “Private Page Forbidden” and pick the one by Weston Ruter.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install private-page-forbidden --activate

Requirements: WordPress 2.7+ · tested up to WordPress 2.8

Hooks & customisation

Private Page Forbidden 0.2 fires 0 actions and 1 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

private-page-forbidden — top hooks
// Filter in private-page-forbidden.php
apply_filters( 'forbidden_redirect', '' );

Browse all 1 hooks with examples →

Private Page Forbidden: frequently asked questions

Is Private Page Forbidden free?

Yes. Private Page Forbidden is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is Private Page Forbidden safe to use?

Private Page Forbidden has not been updated for 17 years. Plugins without updates stop receiving security fixes, so we recommend a maintained alternative for new sites. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does Private Page Forbidden work with WordPress 7.1?

It isn't confirmed. Private Page Forbidden was last tested with WordPress 2.8, 43 releases behind the current 7.1, so test it on a staging site before relying on it. It requires WordPress 2.7 or later.

What are the best alternatives to Private Page Forbidden?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Utilities plugins for related options.

Can I customise Private Page Forbidden without editing its code?

Yes. Private Page Forbidden 0.2 fires 0 actions and 1 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 1 hooks with examples.

Done for you

Let us deal with Private Page Forbidden for you

Move to a maintained plugin without losing your settings, or keep this one and have it brought up to date.

Update an abandoned plugin

from $249

Keep the plugin your site depends on, made safe for current WordPress and PHP.

  • Compatibility with current WordPress and PHP
  • Security review and fixes
  • Deprecated code replaced
  • You keep a maintained copy

Typical turnaround: 5–10 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need Private Page Forbidden customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with Weston Ruter. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by Weston Ruter

All 30 →
Not updated in 1+ year
AMP icon

AMP

367

An easier path to great Page Experience for everyone. Powered by AMP.

300,000+ installs Updated 2 years ago 105 hooks
Not updated in 1+ year
PWA icon

PWA

27

WordPress feature plugin to bring Progressive Web App (PWA) capabilities to Core

20,000+ installs Updated 2 years ago 31 hooks

Enables back/forward cache (bfcache) for instant history navigations even when “nocache” headers are sent, such as when a user is…

10,000+ installs Updated 2 months ago 3 hooks
Not updated in 8+ years

Allows a user to associate a photo with their account and for this photo to be displayed in their posts…

3,000+ installs Updated 9 years ago

Alternatives in Utilities

See all →

Import posts, pages, comments, custom fields, categories, tags and more from a WordPress export file.

2+ million installs Updated 1 month ago 28 hooks

Easily add Custom CSS or JS to your website with an awesome editor.

600,000+ installs Updated 3 weeks ago 7 hooks
Not updated in 1+ year

This is not just a plugin, it symbolizes the hope and enthusiasm of an entire generation summed up in two…

500,000+ installs Updated 1 year ago

Web Accessibility (formally known as Ally) is a free, powerful, and user-friendly plugin that helps WordPress creators build more accessible…

500,000+ installs Updated 3 months ago 18 hooks