Sari la conținut
WordPress.org

În Română

  • Teme
  • Module
  • Știri
  • Suport
  • Despre
  • Evenimente
  • Localizare
  • Dialog
  • Obține WordPress
Obține WordPress
WordPress.org

Plugin Directory

TR Register Only

  • Trimite un modul
  • Favoritele mele
  • Autentifică-te
  • Trimite un modul
  • Favoritele mele
  • Autentifică-te

TR Register Only

De techieresource
Descarcă
  • Detalii
  • Recenzii
  • Instalare
  • Dezvoltare
Suport

Descriere

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

Instalare

  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

Întrebări frecvente

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

Recenzii

Nu există nicio verificare pentru acest modul.

Contributori și dezvoltatori

„TR Register Only” este un software open-source. La acest modul au contribuit următoarele persoane.

Contributori
  • techieresource

Tradu „TR Register Only” în limba ta.

Te interesează dezvoltarea?

Răsfoiește codul, vezi depozitarul SVN, sau abonează-te la jurnalul de dezvoltare prin RSS.

Istoric modificări

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

  • Versiunea 2.0.0
  • Ultima actualizare Acum o lună
  • Instalări active: 30+
  • Versiune WordPress 5.6 sau mai recentă
  • Testat până la 6.7.5
  • Versiune PHP 7.4 sau mai recentă
  • Limbă
    English (US)
  • Etichete
    loginmembers-onlyprivateregistrationrestrict
  • Vizualizare avansată

Evaluări

5 din 5 stele.
  • 3 5 – recenzii (stele) 5 stele 3
  • 0 4 – recenzii (stele) 4 stele 0
  • 0 3 – recenzii (stele) 3 stele 0
  • 0 2 – recenzii (stele) 2 stele 0
  • 0 1 – recenzii (stele) o stea 0

Your review

Vezi toate recenziile

Contributori

  • techieresource

Suport

Ai ceva de zis? Ai nevoie de ajutor?

Vezi forumul pentru suport

  • Despre
  • Știri
  • Găzduire
  • Confidențialitate
  • Prezentare
  • Teme
  • Module
  • Modele
  • Învață
  • Suport
  • Dezvoltatori
  • WordPress.tv ↗
  • Implică-te
  • Evenimente
  • Donează ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

În Română

  • Mergi la contul nostru X (fost Twitter)
  • Vizitează contul nostru Bluesky
  • Vizitează contul nostru Mastodon
  • Vizitează contul nostru Threads
  • Vizitează pagina noastră Facebook
  • Vizitează-ne pe Instagram
  • Vizitează-ne pe LinkedIn
  • Vizitează contul nostru TikTok
  • Vizitează canalul nostru YouTube
  • Vizitează contul nostru Tumblr
Codul este poezie.
The WordPress® trademark is the intellectual property of the WordPress Foundation.