Mô tả
WP Basic Authentication is a plugin for protected your development WordPress site like .htpasswd and support Docker and Kubernetes (K8s)
Features:
- Easy for setting Basic Authentication
- Basic Authentication works like .htpasswd
- Protected development website or demo website without .htpasswd
- Support Docker and Kubernetes (K8s)
- The plugin is lightweight.
Cài đặt
- Upload
wp-basic-authentication.zipto the install plugin page - Activate the plugin through the ‘Plugins’ menu in WordPress
- Go to Authentication in the left-hand menu to start setting the plugin
Hỏi đáp
-
How to setting the plugin?
-
Go to Authentication in the left-hand menu to start setting the plugin
-
How to disable Authentication if I forgot the credentials
-
Rename or delete ‘wp-basic-authentication’ directory in plugins directory via FTP or commend line
-
Password Migration (v1.1.0+)
-
If you’re updating from a version older than 1.1.0, your existing password will be automatically migrated to the new secure hashed format. You don’t need to change your password – the plugin will handle this automatically and show you a success message in the WordPress admin.
Đánh giá
Người đóng góp & Lập trình viên
“WP Basic Authentication” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.
Những người đóng góp“WP Basic Authentication” đã được dịch qua 3 ngôn ngữ. Cảm ơn những người tham gia dịch vì đóng góp của họ.
Dịch “WP Basic Authentication” sang ngôn ngữ của bạn.
Muốn tham gia phát triển?
Duyệt code, check out SVN repository, hoặc theo dõi nhật ký phát triển qua RSS.
Nhật ký thay đổi
1.2.1
- Tested up to WordPress 7.0
- Use CSS custom properties for admin color scheme compatibility
1.2.0
- Add REST API (/wp-json/) authentication toggle
- Add path exclusion list for health checks, webhooks, and other endpoints
- Add IP allowlist to bypass authentication for trusted addresses
- Add production environment warning when plugin is active
- Add uninstall cleanup — plugin options are now removed on deletion
- Fix output escaping for translatable strings with HTML
- Refactor shared password hash detection into a single helper function
1.1.2
- Fix password authentication failure caused by double-hashing during save
- Fix hash detection to support all WordPress password hash formats
- Fix warning message HTML on settings page
1.1.1
- Fix small issue on setting page
1.1.0
- Hash password with automatic migration from older versions
- Automatic password migration for users updating from pre-1.1.0 versions
- Tested up to WordPress 6.9
1.0.3
- Tested up to WordPress 6.5
- Separate protected frontend and wp-login page
1.0.2
- Tested up to WordPress 6.1.1
- Add Tip me on ko-fi
1.0.1
- Tested up to WordPress 5.8.1
1.0.0
- Initial Release


