Consent management for WordPress — GDPR, CCPA & ePrivacy, autoblocking, Google Consent Mode, Microsoft Consent Mode (Pro), GPC & WP Consent API.
- Installs
- 800,000+
- Rating
- 4.8 (3K)
- Updated
- 16 days ago
Force Login is a simple lightweight plugin that requires visitors to log in to interact with the website.
| Last updated | June 19, 2026Updated in the last year |
|---|---|
| Tested up to | WordPress 7.0.8Older than WordPress 7.1.4, the current release |
| Needs WordPress | 4.6 or newer |
| Needs PHP | Not stated |
| First published | June 11, 2014 |
| Support, last two months | 1 of 2 threads resolved (50%) |
4.8 / 5 from 101 reviews
| 5 stars | 95 |
|---|---|
| 4 stars | 0 |
| 3 stars | 0 |
| 2 stars | 3 |
| 1 star | 3 |
Easily hide your WordPress site from public viewing by requiring visitors to log in first. As simple as flipping a switch.
Make your website private until it’s ready to share publicly, or keep it private for members only.
Features
Bug Reports
Bug reports for Force Login are welcomed on GitHub. Please note that GitHub is not a support forum.
The opening of the plugin's own description. The full text, installation notes and changelog are on its WordPress.org page.
By default, the plugin sends visitors back to the URL they tried to access. However, you can redirect users to a specific URL by adding the built-in WordPress filter login_redirect to your functions.php file.
You can bypass Force Login based on any condition by adding the following filter to your functions.php file.
You may use the WordPress Conditional Tags in your code.
/** * Bypass Force Login to allow for exceptions. * * @param bool $bypass Whether to disable Force Login. Default false. * @param string $visited_url The visited URL. * @return bool */ function my_forcelogin_bypass( $bypass, $visited_url ) {
The WordPress login screen includes a “← Back to {sitename}” link below the login form; which may not actually take you back to the site while Force Login is activated. You can hide this link by adding the following action to your functions.php file.
Requires: WordPress 2.5 or higher
Consent management for WordPress — GDPR, CCPA & ePrivacy, autoblocking, Google Consent Mode, Microsoft Consent Mode (Pro), GPC & WP Consent API.
#202 by installs
Simple Consent API to read and register the current consent category.
#288 by installs
The official Gravatar plugin, featuring privacy-focused settings, easy profile updates, and customizable Gravatar Profile blocks.
#348 by installs
Visitor statistics for WordPress with focus on data protection, transparency and clarity. Perfect as a widget in your WordPress Dashboard.
#526 by installs
Our easy to use cookie consent plugin can assist in your GDPR, CCPA, and ePrivacy Directive compliance efforts.
#610 by installs
Privacy-friendly and lightweight Google Analytics alternative for WordPress sites. No cookies, just insights.
Read from the WordPress.org plugin API on , when WordPress 7.1.4 was the current release. WordPress.org rounds active installs into buckets. These are the directory's figures, not my verdict, and I haven't tested this plugin. The author takes donations at their donate page.