Ga naar de inhoud
WordPress.org

Nederlands

  • Thema’s
  • Plugins
  • Nieuws
    • Documentatie
    • Forums
  • Over
    • Vertaalproces
    • Stijlgids
    • Onze community
    • Meetups
    • WordCamps
  • Contact
  • WordPress downloaden
WordPress downloaden
WordPress.org

Plugin Directory

TR Register Only

  • Dien een plugin in
  • Mijn favorieten
  • Login
  • Dien een plugin in
  • Mijn favorieten
  • Login

TR Register Only

Door techieresource
Download
  • Details
  • Beoordelingen
  • Installatie
  • Ontwikkeling
Ondersteuning

Beschrijving

TR Register Only makes your entire WordPress site private. Once enabled, only logged-in users can access any page, post, or custom post type. Everyone else is redirected to the login page (or a custom URL of your choice).

Key Features:

  • ✅ One-click enable/disable toggle
  • 🔒 Role-based access control — set minimum required user role
  • ↩️ Redirect to WordPress login page or any custom URL
  • 💬 Custom message shown on the login page
  • 📋 Whitelist specific pages for public access (e.g. pricing, landing pages)
  • 🏠 Optionally whitelist the home/front page
  • 📡 Optionally restrict REST API to authenticated users
  • 🧹 Clean uninstall — removes all data when deleted

Perfect for:

  • Private/members-only communities
  • Staging and development sites
  • Corporate intranets
  • Schools and educational platforms
  • Subscription-based content sites

Installatie

  1. Upload the tr-register-only folder to /wp-content/plugins/
  2. Activate the plugin from Plugins > Installed Plugins
  3. Go to Settings > TR Register Only to configure

FAQ

Will this lock me out of the admin?

No. The WordPress login page (wp-login.php) is always whitelisted automatically, so you can always log in.

Can I allow some pages to be publicly accessible?

Yes. In Settings, enter the page IDs you want to keep public under “Whitelisted Page IDs”. Separate multiple IDs with commas.

Does this protect the REST API too?

Optionally. Enable “Protect REST API” in settings to require authentication on all REST endpoints. Note this may break plugins that rely on unauthenticated API calls.

How do I find a page’s ID?

Go to Pages > All Pages, hover over a page, and the ID appears in the URL at the bottom of the browser (e.g. post=42).

Beoordelingen

Er zijn geen beoordelingen voor deze plugin.

Bijdragers & ontwikkelaars

“TR Register Only” is open source software. De volgende personen hebben bijgedragen aan deze plugin.

Bijdragers
  • techieresource

Vertaal “TR Register Only” in je eigen taal.

Interesse in ontwikkeling?

Bekijk de code, haal de SVN repository op, of abonneer je op het ontwikkellog via RSS.

Changelog

2.0.0

  • Complete rewrite for modern WordPress 6.x compatibility
  • Added role-based access control (minimum role setting)
  • Added custom URL redirect option
  • Added page whitelist feature
  • Added home page whitelist option
  • Added REST API protection option
  • Added custom login message support
  • Added clean uninstall (removes options on delete)
  • PHP 8.x compatible
  • Singleton pattern with proper OOP architecture
  • Full input sanitization and escaping

1.0

  • Initial release

Meta

  • Versie 2.0.0
  • Laatst geüpdatet 1 maand geleden
  • Actieve installaties 30+
  • WordPress versie 5.6 of nieuwer
  • Getest t/m 6.7.5
  • PHP versie 7.4 of nieuwer
  • Taal
    English (US)
  • Tags
    loginmembers-onlyprivateregistrationrestrict
  • Geavanceerde weergave

Waarderingen

5 van 5 sterren.
  • 3 5 sterren beoordelingen 5 sterren 3
  • 0 4 sterren beoordelingen 4 sterren 0
  • 0 3 sterren beoordelingen 3 sterren 0
  • 0 2 sterren beoordelingen 2 sterren 0
  • 0 1 sterren beoordelingen 1 ster 0

Your review

Bekijk alle beoordelingen

Bijdragers

  • techieresource

Ondersteuning

Iets te melden? Hulp nodig?

Het supportforum bekijken

  • Over
  • Nieuws
  • Hosting
  • Privacy
  • Showcase
  • Thema's
  • Plugins
  • Patronen
  • Leren
  • Ondersteuning
  • Ontwikkelaars
  • WordPress.tv ↗
  • Raak betrokken
  • Evenementen
  • Doneren ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

Nederlands

  • Bezoek ons X (voorheen Twitter) account
  • Bezoek ons Bluesky account
  • Bezoek ons Mastodon account
  • Bezoek ons Threads account
  • Onze Facebook pagina bezoeken
  • Bezoek ons Instagram account
  • Bezoek ons LinkedIn account
  • Bezoek ons TikTok account
  • Bezoek ons YouTube kanaal
  • Bezoek ons Tumblr account
Code is poëzie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.