Lewati ke konten
WordPress.org

Indonesia

  • Tema
  • Plugin
  • Berita
  • Bantuan
  • Tentang
  • Komunitas
  • Poliglot
  • Gunakan WordPress
Gunakan WordPress
WordPress.org

Plugin Directory

TR Register Only

  • Kirim plugin
  • Favorit saya
  • Login
  • Kirim plugin
  • Favorit saya
  • Login

TR Register Only

Oleh techieresource
Unduh
  • Detail
  • Ulasan
  • Instalasi
  • Pengembangan
Bantuan

Deskripsi

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

Instalasi

  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

Tanya Jawab

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

Ulasan

Belum ada ulasan untuk plugin ini.

Kontributor & Pengembang

“TR Register Only” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor
  • techieresource

Terjemahkan “TR Register Only” dalam bahasa Anda.

Tertarik mengembangkan?

Lihat kode, periksa repositori SVN , atau mendaftar ke log pengembangan melalui RSS.

Log Perubahan

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 2.0.0
  • Diperbarui 1 bulan yang lalu
  • Instalasi Aktif 30+
  • Versi WordPress 5.6 atau yang terbaru
  • Diuji hingga 6.7.5
  • Versi PHP 7.4 atau yang terbaru
  • Bahasa
    English (US)
  • Tag
    loginmembers-onlyprivateregistrationrestrict
  • Tampilan lanjut

Rating

5 dari 5 bintang.
  • 3 5-star reviews 5 bintang 3
  • 0 4-star reviews 4 bintang 0
  • 0 3-star reviews 3 bintang 0
  • 0 2-star reviews 2 bintang 0
  • 0 1-star reviews 1 bintang 0

Your review

Lihat semua ulasan

Kontributor

  • techieresource

Bantuan

Ada yang ingin dikatakan? Butuh bantuan?

Lihat forum bantuan

  • Tentang
  • Berita
  • Hosting
  • Privasi
  • Tampilan
  • Tema
  • Plugin
  • Pola
  • Belajar
  • Bantuan
  • Developer
  • WordPress.tv โ†—
  • Terlibat
  • Kegiatan
  • Donasi โ†—
  • Five for the Future
  • WordPress.com โ†—
  • Matt โ†—
  • bbPress โ†—
  • BuddyPress โ†—
WordPress.org
WordPress.org

Indonesia

  • Kunjungi akun X (sebelumnya Twitter) kami
  • Visit our Bluesky account
  • Visit our Mastodon account
  • Visit our Threads account
  • Kunjungi halaman Facebook kami
  • Kunjungi akun Instagram kami
  • Kunjungi akun LinkedIn kami
  • Visit our TikTok account
  • Kunjungi channel YouTube kami
  • Visit our Tumblr account
Kode adalah Puisi.
The WordPress® trademark is the intellectual property of the WordPress Foundation.