Title: TR Register Only
Author: techieresource
Published: <strong>Декабрь 21, 2013-ж.</strong>
Last modified: Март 1, 2026-ж.

---

Плагиндерди издөө

![](https://ps.w.org/tr-register-only/assets/banner-772x250.png?rev=3472250)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/tr-register-only/assets/icon-128x128.png?rev=3472250)

# TR Register Only

 Автору [techieresource](https://profiles.wordpress.org/techieresource/)

[Жүктөө](https://downloads.wordpress.org/plugin/tr-register-only.2.0.0.zip)

 * [Кенен маалымат](https://ky.wordpress.org/plugins/tr-register-only/#description)
 * [Сын-пикирлер](https://ky.wordpress.org/plugins/tr-register-only/#reviews)
 *  [Орнотуу](https://ky.wordpress.org/plugins/tr-register-only/#installation)
 * [Development](https://ky.wordpress.org/plugins/tr-register-only/#developers)

 [Колдоо](https://wordpress.org/support/plugin/tr-register-only/)

## Сүрөттөө

**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

## Орнотуу

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

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

## Сын-пикирлер

There are no reviews for this plugin.

## Contributors & Developers

“TR Register Only” is open source software. The following people have contributed
to this plugin.

Мүчөлөрү

 *   [ techieresource ](https://profiles.wordpress.org/techieresource/)

[Translate “TR Register Only” into your language.](https://translate.wordpress.org/projects/wp-plugins/tr-register-only)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/tr-register-only/),
check out the [SVN repository](https://plugins.svn.wordpress.org/tr-register-only/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/tr-register-only/)
by [RSS](https://plugins.trac.wordpress.org/log/tr-register-only/?limit=100&mode=stop_on_copy&format=rss).

## Өзгөртүүлөр

#### 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

## Мета

 *  Нуска **2.0.0**
 *  Акыркы жаңыртуу **5 ай мурун**
 *  Активдүү орнотуулар **30+**
 *  WordPress нускасы ** 5.6 же андан жогору **
 *  Tested up to **6.7.5**
 *  PHP нускасы ** 7.4 же андан жогору **
 *  Тил
 * [English (US)](https://wordpress.org/plugins/tr-register-only/)
 * Тег:
 * [login](https://ky.wordpress.org/plugins/tags/login/)[members-only](https://ky.wordpress.org/plugins/tags/members-only/)
   [private](https://ky.wordpress.org/plugins/tags/private/)[registration](https://ky.wordpress.org/plugins/tags/registration/)
   [restrict](https://ky.wordpress.org/plugins/tags/restrict/)
 *  [Advanced View](https://ky.wordpress.org/plugins/tr-register-only/advanced/)

## Рейтинг

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/tr-register-only/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/tr-register-only/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/tr-register-only/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/tr-register-only/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/tr-register-only/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/tr-register-only/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/tr-register-only/reviews/)

## Мүчөлөрү

 *   [ techieresource ](https://profiles.wordpress.org/techieresource/)

## Колдоо

Комментарийлер барбы? Жардам керекпи?

 [Колдоо форумун көрүү](https://wordpress.org/support/plugin/tr-register-only/)