Description
This plugin allows you to limit the access to specific pages and posts to certain user roles only.
Features
- Toggle protection on or off using a checkbox in the meta box next to the page or post editor.
- When toggled on, specify which user roles should have access to the page.
- When toggled on, you can specify to which page users should be redirected if they do not have the necessary permissions.
- The dropdown list with possible redirect pages does not include the current page or any other protected pages.
- When no redirect page is selected, users without access will receive a 404 error.
Notes
- Users can never unselect their own user role when setting permissions.
- Some default WordPress pages cannot have their permissions changed by this plugin, such as the default Privacy Policy Page.
- The homepage must always be accessible to everyone.
- Administrators are always allowed access to any page.
- Protected pages and posts are also hidden from archives, search results, feeds, sitemaps, widgets, previous and next links, oEmbeds and the REST API for users without access.
- Subpages are not protected automatically. Enable protection on each subpage that needs it.
- Files attached to a protected page stay publicly reachable. Use a separate plugin to protect files.
Developed and maintained by Resonanz Digital, a web agency in Vienna building WordPress sites and custom web applications.
License
This plugin is licensed under the GPLv2. For more information, check out the license.
FAQ
Does this plugin work with other plugins related to pages and posts?
We believe that the plugin should work correctly on most WordPress websites regardless of which plugins are installed. However, there are no guarantees. If you do encounter issues, please let us know.
Where can I find further help?
If you require assistance or experience technical problem, feel free to contact us
Changelog
1.3.0
Release Date 30th October 2026
* The access box on the editor shows at a glance whether the page or post is protected. The roles sit in a framed list like WordPress’s category box, and a different parent access shows as a red badge. German and Dutch translations for the new texts.
* The box’s styles are scoped to the box. Before, the .resonanz-warning rule applied to the whole editor screen.
1.2.0
Release Date 21st October 2026
- Security: protected content no longer appears in the REST API, archives, search results, feeds, sitemaps, widgets, comment lists, previous and next links or oEmbeds for users without access.
- Security: saving the access settings now requires permission to edit the post, and only applies to the post being edited.
- Security: your own roles are now kept on the server side, not only in the browser.
- The front page, the blog page and the privacy policy page are now always accessible, as documented.
- Edit and delete checks now use the user being checked, not always the current user.
- Redirects keep query arguments intact and are never cached.
- The settings no longer show up in the Custom Fields box.
- Admin styles and scripts only load on the post editing screens.
1.1.16
Release Date 16th June 2026
- Verified that the plugin works under WordPress 7.0.
1.1.15
Release Date 17th December 2025
- Verified that the plugin works under WordPress 6.9.
1.1.14
Release Date 2nd December 2025
- Verified that the plugin works under WordPress 6.8.3.
1.1.13
Release Date 8th April 2025
- Verified that the plugin works under WordPress 6.7.2.
1.1.12
Release Date 26th November 2024
- Verified that the plugin works under WordPress 6.7.
1.1.11
Release Date 4th October 2024
- Changed a help line to be easier to translate into different languages by splitting it up into two strings.
- Moved main plugin description so that it shows up correctly in the repo.
- Added Dutch translation.
1.1.10
Release Date 26th September 2024
- Changed plugin slug and text-domain to match WordPress plugin directory requirements.
1.1.9
Release Date 11th September 2024
- Validated and escaped all output in the plugin to prevent security vulnerabilities.
1.1.8
Release Date 6th August 2024
- Fixed small issues in preparation for submission to the WordPress plugin repository.
- Overhauled the textdomain and translations for the plugin to fit WordPress standards.
1.1.7
Release Date 29th May 2024
- Fixed another bug in redirect logic and added some output debugging in local and development environments.
1.1.6
Release Date 28th May 2024
- Fixed minor bug in redirect logic that prevented the plugin from redirecting correctly in some cases.
1.1.5
Release Date 2nd May 2024
- Protected pages now listed in dropdown with “protected” in the title.
- Page redirection allows redirecting to a parent even if protected.
- Updated instructions for the user in the meta box to reflect these changes.
1.1.4
Release Date 29th March 2024
- Changed post titles to slugs in page redirect dropdown to make them easier to distinguish.
- Added parents to these pages in the dropdown to make it easier to find the right page.
1.1.3
Release Date 26th March 2024
- First release of the plugin with all desired features.