Saltar al contenido
WordPress.org

España

  • Temas
  • Plugins
  • Noticias
    • Documentación
    • Foros
  • Acerca de
  • Patrones
  • Eventos
    • Equipo
    • Manuales
  • Consigue WordPress
Consigue WordPress
WordPress.org

Plugin Directory

TR Register Only

  • Envía un plugin
  • Mis favoritos
  • Acceder
  • Envía un plugin
  • Mis favoritos
  • Acceder

TR Register Only

Por techieresource
Descargar
  • Detalles
  • Valoraciones
  • Instalación
  • Desarrollo
Soporte

Descripción

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

Instalación

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

Reseñas

No hay valoraciones para este plugin.

Colaboradores y desarrolladores

«TR Register Only» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores
  • techieresource

Traduce «TR Register Only» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

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

  • Versión 2.0.0
  • Última actualización hace 1 mes
  • Instalaciones activas 30+
  • Versión de WordPress 5.6 o superior
  • Probado hasta 6.7.5
  • Versión de PHP 7.4 o superior
  • Idioma
    English (US)
  • Etiquetas:
    loginmembers-onlyprivateregistrationrestrict
  • Vista avanzada

Valoraciones

5 de 5 estrellas.
  • 3 valoraciones de 5 estrellas 5 estrellas 3
  • 0 valoraciones de 4 estrellas 4 estrellas 0
  • 0 valoraciones de 3 estrellas 3 estrellas 0
  • 0 valoraciones de 2 estrellas 2 estrellas 0
  • 0 valoraciones de 1 estrellas 1 estrella 0

Your review

Ver todas las valoraciones

Colaboradores

  • techieresource

Soporte

¿Tienes algo que decir? ¿Necesitas ayuda?

Ver el foro de soporte

  • Acerca de
  • Noticias
  • Alojamiento
  • Privacidad
  • Escaparate
  • Temas
  • Plugins
  • Patrones
  • Aprender
  • Soporte
  • Desarrolladores
  • WordPress.tv ↗
  • Involúcrate
  • Eventos
  • Donar ↗
  • Five for the Future
  • WordPress.com ↗
  • Matt ↗
  • bbPress ↗
  • BuddyPress ↗
WordPress.org
WordPress.org

España

  • Visita nuestra cuenta de X (anteriormente Twitter)
  • Visita nuestra cuenta de Bluesky
  • Visita nuestra cuenta de Mastodon
  • Visita nuestra cuenta de Threads
  • Visita nuestra página de Facebook
  • Visita nuestra cuenta de Instagram
  • Visita nuestra cuenta de LinkedIn
  • Visita nuestra cuenta de TikTok
  • Visita nuestro canal de YouTube
  • Visita nuestra cuenta de Tumblr
El código es poesía.
The WordPress® trademark is the intellectual property of the WordPress Foundation.