Title: Simple PageAccess
Author: Guru Plugins
Published: <strong>19 août 2025</strong>
Last modified: 23 septembre 2026

---

Recherche d’extensions

![](https://ps.w.org/simple-pageaccess/assets/banner-772x250.png?rev=3690397)

![](https://ps.w.org/simple-pageaccess/assets/icon-256x256.png?rev=3690397)

# Simple PageAccess

 Par [Guru Plugins](https://profiles.wordpress.org/guruplugins/)

[Télécharger](https://downloads.wordpress.org/plugin/simple-pageaccess.1.3.zip)

 * [Détails](https://fr-ca.wordpress.org/plugins/simple-pageaccess/#description)
 * [Avis](https://fr-ca.wordpress.org/plugins/simple-pageaccess/#reviews)
 *  [Installation](https://fr-ca.wordpress.org/plugins/simple-pageaccess/#installation)
 * [Développement](https://fr-ca.wordpress.org/plugins/simple-pageaccess/#developers)

 [Support](https://wordpress.org/support/plugin/simple-pageaccess/)

## Description

**Simple PageAccess** is probably the smallest, most powerful access control plugin
you’ll ever install.

In under **100 lines of code**, it gives you role-based control over who can view
each page — without cluttering your dashboard or slowing down your site.

 * Adds a « Only Allow Logged In Users » checkbox to each page and post
 * Dynamically show checkboxes for each user role via clean in-editor UI
 * Restrict access with **zero configuration**, straight from the page editor
 * Display a centered heading message: _« You are not allowed to view this page!»_
   for unauthorized users
 * No separate settings page, no database bloat — just smart, surgical code

Perfect for membership sites, private client pages, internal portals, or any time
you want fast, targeted access control.

### Credits

Built by Christopher Harden — plugins.guru-is.com

## Installation

 1. Upload the plugin files to the `/wp-content/plugins/simple-pageaccess` directory,
    or install via the WordPress Plugin Directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Edit any page. In the right-hand settings panel, check « Only Allow Logged In Users»
    to enable restrictions.
 4. Choose the user roles that should be allowed to view the page.

## FAQ

### Can I restrict posts or custom post types?

Pages and posts are supported. Custom post types are not currently supported.

### What happens if a user isn’t allowed?

They’ll see a clean, centered message that says: _« You are not allowed to view 
this page! »_

### Can I change the message or redirect users?

Not yet, but custom behavior can be added with a few lines of code.

## Avis

Il n’y a aucun avis sur cette extension.

## Contributeurs & développeurs

« Simple PageAccess » est un logiciel libre. Les personnes suivantes ont contribué
à cette extension.

Contributeurs

 *   [ Guru Plugins ](https://profiles.wordpress.org/guruplugins/)

[Traduisez « Simple PageAccess » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/simple-pageaccess)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/simple-pageaccess/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/simple-pageaccess/), 
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/simple-pageaccess/)
par [RSS](https://plugins.trac.wordpress.org/log/simple-pageaccess/?limit=100&mode=stop_on_copy&format=rss).

## Historique des changements

#### 1.3

 * Fixed role-based access so selected WordPress roles can view restricted content
   correctly.
 * Administrator access is now stored reliably even though its checkbox remains 
   locked on.
 * Existing restricted content now recognizes Administrator access without requiring
   a resave.
 * Saved role keys are sanitized and deduplicated.
 * Updated documentation to reflect support for both pages and posts.

#### 1.0

 * Initial release — small code, big control.

## Méta

 *  Version **1.3**
 *  Last updated **il y a 5 jours**
 *  Active installations **Moins de 10**
 *  WordPress version ** 5.0 ou plus **
 *  Tested up to **7.1.2**
 *  PHP version ** 7.0 ou plus **
 *  Language
 * [English (US)](https://wordpress.org/plugins/simple-pageaccess/)
 * Tags
 * [page access](https://fr-ca.wordpress.org/plugins/tags/page-access/)[private pages](https://fr-ca.wordpress.org/plugins/tags/private-pages/)
   [restrict pages](https://fr-ca.wordpress.org/plugins/tags/restrict-pages/)[role-based access](https://fr-ca.wordpress.org/plugins/tags/role-based-access/)
   [user roles](https://fr-ca.wordpress.org/plugins/tags/user-roles/)
 *  [Vue avancée](https://fr-ca.wordpress.org/plugins/simple-pageaccess/advanced/)

## Notes

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/simple-pageaccess/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/simple-pageaccess/reviews/)

## Contributeurs

 *   [ Guru Plugins ](https://profiles.wordpress.org/guruplugins/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/simple-pageaccess/)