Deskripsyon
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
Pag-install
- Upload the
tr-register-onlyfolder to/wp-content/plugins/ - Activate the plugin from Plugins > Installed Plugins
- 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).
Mga Review
Wala pang reviews para sa plugin na ito.
Mga Contributor at Developer
Ang “TR Register Only” ay open source software. Ang mga sumusunod na tao ay nag-ambag sa plugin na ito.
Mga ContributorIsalin ang “TR Register Only” sa iyong wika.
Interesado sa development?
Tingnan ang code, i-check ang SVN repository, o mag-subscribe sa development log sa pamamagitan ng 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
