Title: TR Register Only
Author: techieresource
Published: <strong>2013年12月21日</strong>
Last modified: 2026年3月1日

---

プラグインを検索

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

このプラグインは **WordPress の最新3回のメジャーリリースに対してテストされていま
せん**。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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://ja.wordpress.org/plugins/tr-register-only/#description)
 * [レビュー](https://ja.wordpress.org/plugins/tr-register-only/#reviews)
 *  [インストール](https://ja.wordpress.org/plugins/tr-register-only/#installation)
 * [開発](https://ja.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

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

## 評価

このプラグインにはレビューがありません。

## 貢献者と開発者

TR Register Only はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献
しています。

貢献者

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

[“TR Register Only” をあなたの言語に翻訳しましょう。](https://translate.wordpress.org/projects/wp-plugins/tr-register-only)

### 開発に興味がありますか ?

[コードを閲覧](https://plugins.trac.wordpress.org/browser/tr-register-only/)する
か、[SVN リポジトリ](https://plugins.svn.wordpress.org/tr-register-only/)をチェック
するか、[開発ログ](https://plugins.trac.wordpress.org/log/tr-register-only/)を [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**
 *  最終更新日 **7か月前**
 *  有効インストール数 **30+**
 *  WordPress バージョン ** 5.6またはそれ以降 **
 *  検証済み最新バージョン: **6.7.10**
 *  PHP バージョン ** 7.4またはそれ以降 **
 *  言語
 * [English (US)](https://wordpress.org/plugins/tr-register-only/)
 * タグ
 * [login](https://ja.wordpress.org/plugins/tags/login/)[members-only](https://ja.wordpress.org/plugins/tags/members-only/)
   [private](https://ja.wordpress.org/plugins/tags/private/)[registration](https://ja.wordpress.org/plugins/tags/registration/)
   [restrict](https://ja.wordpress.org/plugins/tags/restrict/)
 *  [詳細を表示](https://ja.wordpress.org/plugins/tr-register-only/advanced/)

## 評価

 5つ星中5つ星

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

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

[すべてのレビューを見る](https://wordpress.org/support/plugin/tr-register-only/reviews/)

## 貢献者

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

## サポート

意見や質問がありますか ?

 [サポートフォーラムを表示](https://wordpress.org/support/plugin/tr-register-only/)