Title: Simple PageAccess
Author: Guru Plugins
Published: <strong>19 augusti 2025</strong>
Last modified: 31 maj 2026

---

Sök tillägg

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

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

# Simple PageAccess

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

[Ladda ner](https://downloads.wordpress.org/plugin/simple-pageaccess.1.1.zip)

 * [Detaljer](https://sv.wordpress.org/plugins/simple-pageaccess/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/simple-pageaccess/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/simple-pageaccess/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/simple-pageaccess/#developers)

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

## Beskrivning

**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
 * 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.

## Vanliga frågor

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

Not yet — this version only supports pages. Post type support may come in a future
release.

### 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.

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Simple PageAccess” är programvara med öppen källkod. Följande personer har bidragit
till detta tillägg.

Bidragande personer

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

[Översätt ”Simple PageAccess” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/simple-pageaccess)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/simple-pageaccess/),
kika på [SVN-filförvaret](https://plugins.svn.wordpress.org/simple-pageaccess/) 
eller prenumerera på [utvecklarloggen](https://plugins.trac.wordpress.org/log/simple-pageaccess/)
via [RSS](https://plugins.trac.wordpress.org/log/simple-pageaccess/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.0

 * Initial release — small code, big control.

## Meta

 *  Version **1.1**
 *  Senast uppdaterat **4 veckor sedan**
 *  Aktiva installationer **Färre än 10**
 *  WordPress-version ** 5.0 eller senare **
 *  Testat upp till **7.0**
 *  PHP-version ** 7.0 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/simple-pageaccess/)
 * Etiketter
 * [page access](https://sv.wordpress.org/plugins/tags/page-access/)[private pages](https://sv.wordpress.org/plugins/tags/private-pages/)
   [restrict pages](https://sv.wordpress.org/plugins/tags/restrict-pages/)[role-based access](https://sv.wordpress.org/plugins/tags/role-based-access/)
   [user roles](https://sv.wordpress.org/plugins/tags/user-roles/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/simple-pageaccess/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/simple-pageaccess/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

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