前言介紹
- 這款 WordPress 外掛「My Private Site」是 2012-06-23 上架。
- 目前有 20000 個安裝啟用數。
- 上一次更新是 2025-04-23,距離現在已有 11 天。
- 外掛最低要求 WordPress 4.0 以上版本才可以安裝。
- 有 77 人給過評分。
- 論壇上目前有 2 個提問,問題解答率 0%
外掛協作開發者
dgewirtz |
外掛標籤
login | pages | private | security | visibility |
內容簡介
本外掛可讓管理員將 WordPress 網站限制僅供已註冊且已登入的使用者查看,任何未登入的使用者試圖查看網站上的任何頁面、文章或其他部分,都會顯示 WordPress 登入畫面。
當非登入使用者(“站點訪客”)試圖訪問由 WordPress 控制的網站上的任何 URL 時,將提供登入提示。
注意:如果主題未啟用隱私設定,請使用“站點隱私”選項卡上的“相容性模式”選項。已知此適用於 Elementor、Oxygen 和 Twenty Twenty Two 主題。
功能和設置
支援 WordPress 網路(“多站點”),未來版本計劃提供全網路設置
提供單獨的設置以隱藏或顯示網站主頁,無需輸入其 URL
支援自定義登入和註冊頁面的 URL,不同於標準的 WordPress 登入和註冊 URL
著陸位置設置決定用戶成功登入後看到的內容
著陸位置設置同時適用於自動登入提示和 Meta Widget 的登入連結
新增的隱藏私密內容短碼可根據登入狀態選擇性隱藏或顯示內容
插件的設置頁面上提供了使用者自行註冊的設置(在 WordPress 網路和非網路間有所不同),操作方便
目前沒有已知的主題不相容問題,已知的唯一插件不相容問題是與 A5 自定義登入插件不兼容
內置特殊功能,可避免 BuddyPress 和 Theme My Login 插件使用的登入和註冊相關 URL 被隱藏
通過免費輔助插件 jonradio Remember Me,在登入時改善“記住我”的功能,可從 WordPress 插件庫中單獨下載該插件
僅覆蓋 WordPress 隱藏的網路啟用插件,提供自身功能。要為所有插件提供此功能,請使用免費輔助插件“顯示網路啟用插件”,可從 WordPress 插件庫中單獨下載
可在未設置網站為私密時停用插件,以便變更其他插件設置
如果您允許自行註冊新使用者,您需要選擇“顯示用戶註冊頁面”設置,否則新使用者將無法看到 WordPress 註冊畫面。在 WordPress 網路上,將“主站點”上的“顯示用戶註冊頁面”設置關閉將阻止所有站點的註冊。為方便起見,本插件的設置頁面添加了控制使用者自行註冊的 WordPress 設置。
另一個設置允許關閉私密網站功能。安裝並啟用插件時,私密網站功能默認關閉,以讓管理員有機會熟悉插件功能並設置所需的設置。首次啟用插件後,直到管理員訪問插件的設置頁面,才會出現網站不是私密的警告。
如果定義了 WordPress 網路,可以為選定的站點單獨啟用插件。或者,可以網路啟用。無論哪種情況,每個站點都會有自己的設置頁面,在該頁面上可以為該站點打開或關閉私密網站功能(默認是關閉),並為每個站點定義著陸位置。
原文外掛簡介
Allows the Administrator to restrict a WordPress-based web site to viewing only by registered users who are logged on. Any attempt, by anyone not logged, to view any Page, Post or other part of the site will display a WordPress login screen.
Login prompts are provided whenever a non-logged in user (“site visitor”) attempts to access any URL controlled by WordPress on the web site.
Note: If privacy isn’t turned on for your theme, use the Compatibility Mode option on the Site Privacy tab. This is known to apply to Elementor, Oxygen, and Twenty Twenty Two themes.
More Features and Settings
Supports WordPress Networks (“Multisite”), with Network-wide Settings planned for a future version
A separate Setting is provided for hiding or revealing Site Home without the need to enter its URL
Supports Custom Login and Registration pages at URLs different than the standard WordPress Login and Registration URLs
Landing Location settings determine what the User sees after successfully logging in
Landing Location is set for both automatic Login prompts and the Meta Widget’s Login link
New hide-if privacy shortcode allows selective content to be hidden or shown based on login status
User Self-Registration settings (varies between Network and Non-Network WordPress) are presented on the plugin’s Settings page for easy access
No known Theme incompatibilities, and only known Plugin incompatibility is with the A5 Custom Login plugin
Special functionality is included to not hide Login- and Registration-related URLs used by BuddyPress and Theme My Login plugins
Remember Me improvements at Login via free companion plugin, jonradio Remember Me, which can be downloaded separately from the WordPress Plugin Repository
Overrides WordPress hiding of Network Activated plugins, just for itself; to provide this feature for all plugins, use the free companion plugin, Reveal Network Activated Plugins, which can be downloaded separately from the WordPress Plugin Repository
Setting to disable the plugin so that other plugin Settings can be changed when the Site is not set to Private
New in 3.1: REST API Guardian. Turn on or off the My Private Site REST API security features. Block REST API access for logged-out users
If you allow Self-Registration, where new Users can Register themselves, you will need to select the “Reveal User Registration Page” setting or new Users will be blocked from seeing the WordPress Registration screen (on WordPress Networks, turning off the Reveal User Registration Page setting on the “Main Site” will prevent Registration from all Sites). For convenience, the WordPress Setting that controls Self-Registration of Users has been added to the Plugin’s Settings page.
Another Setting allows the Private Site feature to be turned off. When the plugin is installed and activated, the Private Site feature is set off by default, to allow the Administrator an opportunity to become familiarized with the plugin’s features and to set the desired settings. A warning that the site is not private appears after first activation of the plugin until the Administrator visits the plugin’s Settings page.
If a WordPress Network is defined, the plugin can be activated individually for select sites. Or Network Activated. In either case, each site will have its own Settings page where the Private Site feature can be turned off (default) or on for just the one site, and a Landing Location defined for each site.
Yes, there are other plugins that hide some or all WordPress content for any site visitor who is not logged on. But when I was searching for a solution for one of the web sites I support, I decided to “write my own” because I knew how it worked and felt comfortable that there would be no way for anyone not logged in to view the site, including Search Engines.
Watch the intro video
Premium Add-ons
Public Pages 2.0: Allows site operators to designate certain specific pages, or pages with specified prefix, to be available to the public without login. Now also allows public site, private pages. Watch the video
Tags & Categories: Allows you to make pages public or (with Public Pages 2.0) private based on tags and categories. Watch the video
Selective Content: Allows hiding, showing, and obscurifying page content through the use of shortcodes. Can also selectively hide widgets and sidebars. Watch the video
Limits
This plugin does not hide non-WordPress web pages, such as .html and .php files. It also won’t restrict images and other media and text files directly accessed by their URL. If your hosting provider’s filesystem protections haven’t been set up correctly, files may also be accessed by directory listing.
Support Note
Support has moved to the ZATZLabs site and is no longer provided on the WordPress.org forums. If you need a timely reply from the developer, please open a ticket.
Mailing List
If you’d like to keep up with the latest updates to this plugin, please visit David’s Lab Notes and add yourself to the mailing list.
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「My Private Site」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
1.0 | 1.1 | 2.0 | 2.1 | 2.2 | 2.3 | 2.4 | 2.5 | 2.6 | 2.7 | 2.8 | 2.9 | 2.10 | 2.11 | 2.12 | 2.13 | 2.14 | 2.4.1 | 2.4.2 | 2.6.1 | 2.6.9 | 3.0.0 | 3.0.1 | 3.0.2 | 3.0.3 | 3.0.5 | 3.0.6 | 3.0.8 | 3.0.9 | 3.1.0 | 3.1.1 | trunk | 2.10.1 | 2.11.1 | 2.11.2 | 2.11.3 | 2.11.4 | 2.14.1 | 2.14.2 | 3.0.10 | 3.0.11 | 3.0.12 | 3.0.13 | 3.0.14 |
延伸相關外掛(你可能也想知道)
WP-PageNavi 》想要取代舊的 ← Older posts | Newer posts → 連結,並改為一些頁面連結嗎?, 這個外掛提供了 wp_pagenavi() 的樣板標籤,可以產生豪華的分頁連結...。
Nested Pages 》Nested Pages 是什麼?, , , 提供直覺且易於操作的拖放介面,以管理網頁結構及文章排序, 增強了快速編輯功能, 新增可編輯、可排序的樹狀表示網站頁面結構, 會...。
Display Posts – Easy lists, grids, navigation, and more 》Display Posts 讓您輕鬆地列出網站上的所有內容。首先在內容編輯器中新增此短碼,以列出最近的文章清單:, [display-posts], , 按類別篩選, 若只想顯示特定類...。
CMS Tree Page View 》將所有頁面和自訂文章以 CMS 樹狀概覽方式添加到 WordPress,類似於專注於頁面的 CMS 中經常找到的檢視方式。, 如果您的目標是將多個內容類型合併到單一檢視...。
Insert Pages 》Insert Pages 可讓您使用 Shortcode API,將任何 WordPress 內容(例如,頁面、文章、自訂文章類型)嵌入其他 WordPress 內容。它還包括一個小工具,可將頁面...。
Widgets on Pages 》這是添加小工具到文章和/或頁面最簡單,也是評價最高的方法。您可以創建無限的動態側邊欄(小工具區域),把它們插入到 WordPress 文章或頁面中。, 從設置菜...。
Post Tags and Categories for Pages 》將文章標籤與分類套件套用於所有頁面,讓您可以使用 WordPress 原生的分類功能來分類您的頁面,並且會顯示在 WordPress 存檔查詢裡。, 這個外掛並不會自動顯...。
WP PageNavi Style 》首先,我想感謝 Lester 'GaMerZ' Chan 和 scribu 為這個美麗的 WordPress 頁面導航外掛所做出的貢獻。, 使用此外掛你必須先安裝 Wp Pagenavi。 , 連結:分頁...。
Tag Pages 》此外掛讓你可以像處理文章一樣新增標籤至頁面。, 此外掛將 ‘post_tag’ 分類法加入頁面文章類型中。, 這樣就可以在新增或編輯頁面介面中顯示標籤...。
Posts in Page 》使用簡單的簡碼 (shortcodes),輕鬆地將一個或多個文章添加到任何頁面。, 支援類別 (categories)、標籤 (tags)、自訂文章類型 (custom post types)、自訂稅項...。
Page Restrict 》限制某些頁面或文章僅限登錄用戶訪問, 此外掛允許您將所有頁面/文章限制為僅限登錄用戶訪問、不限制或選擇性限制。, 在某些情況下,您可能會將 WordPress 用...。
No Page Comment 》直到最近,WordPress 提供兩種選擇:你可以默認禁用所有頁面和文章的評論和引用追蹤,或者你可以啟用它們。在WordPress 4.3 版本中,這種情況終於改變,所以...。
HTML Page Sitemap 》此簡單外掛可透過輸入簡短代碼 [html_sitemap]於網頁內容中,新增一個頁面的 HTML 網站地圖(非 XML),但不包含文章。此外掛可設定特定深度、從特定父頁面開始...。
Essential Widgets 》Essential Widgets 是一款免費的 WordPress 插件,專門用於小工具,可以讓您在網站上創建和添加有趣的小工具,使其更具吸引力和親和力。Essential Widgets 忠...。
Disable Author Archives 》這是一個簡單輕量的 WordPress 外掛,可以完全停用作者存檔/頁面(無論相應的作者是否存在),並使網頁伺服器返回404狀態碼('未找到')。相關連結也將禁用或...。