Description
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.
Installation
- 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.
FAQ
-
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).
Reviews
There are no reviews for this plugin.
Contributors & Developers
“Access Code Lite” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “Access Code Lite” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
Initial release