外掛說明
Access Code Lite lets you require a simple URL parameter code (e.g. ‘?access_code=enter123’) before visitors can view your site.
Simply share the private access link (e.g. https://example.com?access_code=enter123) that the plugin generates to any user who you wish to grant access.
Ideal for development, staging, previews, or private sharing without complex authentication.
Features:
– Set a custom access code from the plugin settings page.
– Code can be 3–12 characters, letters and numbers only.
– Session persistence (default): visitors only need to enter the code once per visit.
– Logged-in users, WordPress login, password reset, admin, AJAX, and cron are always allowed.
Important: Access Code Lite is not a security plugin.
It does not encrypt, hide, or protect sensitive data. It only adds a simple URL parameter check and should be used for low-risk scenarios like development, staging, or preview access.
Do not rely on this plugin to secure private or confidential information.
More persistence options (cookies, tokens, etc.) will be added in future versions.
安裝方式
- Upload the plugin files to the
/wp-content/plugins/access-code-lite/directory, or install via the Plugins screen in WordPress. - Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to Settings Access Code Lite to configure your access code and status.
常見問題集
-
What happens if the code is wrong or missing?
-
Visitors see an “Access Denied” page with a 403 Forbidden status.
-
Do logged-in users need the code?
-
No. Logged-in users and WordPress authentication endpoints are always allowed.
-
How long does the access code last?
-
By default, for the duration of the visitor’s session (until they close their browser).
使用者評論
這個外掛目前沒有任何使用者評論。
參與者及開發者
變更記錄
1.0.2
- Fixed an issue where root (/) requests could be incorrectly routed to the latest post during access-code handling.
- Refactored access-code request processing for clarity and stability.
1.0.1
- Added optional cookie-based access persistence.
- Internal improvements.
1.0.0
- Initial release