BLACK FRIDAY
Save 59% on PageForge Annual $191/year $485/year
Claim 59% Off →
CFB Must Login icon
Actively maintained Tested with WP 7.1 #8 in intranet

CFB Must Login

Put your whole site behind a login with one click. Includes REST API protection and automatic cache clearing.

Active installs<10New
Downloads · 30d141▲ +166% vs prev. 30d
Rating—0 reviews
Health score64/100Good
All-time downloads628Since Dec 2025
Support resolved—No recent threads
RequiresWP 5.0PHP 7.4+
Downloads · 7d79▲ 3.2× week over week
Our verdict

Solid choice

CFB Must Login is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 6 days ago, and scores 64/100 on our health check.

  • Actively developed — last update 6 days ago
  • Tested with the latest WordPress (7.1)
  • Small user base (<10 active installs)
  • Very few reviews so far

How does it stack up?

Side-by-side on installs, updates, ratings & support

Daily downloads

81624Jul 10Aug 23Oct 7
Yesterday6
Daily average (1y)2
Peak day33Oct 2, 2026
Last 12 months632

Download spikes usually follow a new release — each site that auto-updates counts as a download.

Rankings

Where CFB Must Login stands today

WordPress.org search rankings

Live position in the plugin search, top 100
KeywordPositionCompeting pluginsCategory
intranet #63 117 Best intranet plugins →
login >100 8,795 Best login plugins →
members-only >100 2,553 Best members-only plugins →
private site >100 4,058 Best private site plugins →
rest-api >100 7,682 Best rest-api plugins →

About CFB Must Login

From the official readme · v1.0.1

Description

Not every site is meant for the public. A staging site waiting on client sign-off. A company intranet. A members-only community. A family blog.

CFB Must Login puts your entire site behind the WordPress login. Switch it on from the admin bar, and anyone who isn’t signed in is sent to the login page, then straight back to the page they wanted once they are.

What you get

  • One-click toggle. Turn the login requirement on or off from the admin bar, on any page.
  • Status at a glance. A lock icon in the admin bar always shows whether your site is private.
  • Smart redirects. Visitors land back on the page they asked for after logging in.
  • REST API protection. Logged-out requests to /wp-json/ are refused, so your content can’t be read through the API. Login, contact form and oEmbed endpoints keep working.
  • Automatic cache clearing. Ten popular caching plugins are cleared the moment you toggle, so the change takes effect right away instead of whenever the cache expires.
  • A simple settings page under Settings → CFB Must Login.
  • Lightweight, translation ready, and extendable with filters and actions.

Good to know

  • It starts switched off. Nothing changes for your visitors until you turn it on.
  • It’s all or nothing, for now. Version 1.0 protects the entire site. Per-page exclusions may come in a future version.
  • Search engines can’t crawl your site while it’s on. That’s usually the point, but remember to switch it off before launch.

Built by Code For Broke

CFB Must Login is made and maintained by Code For Broke, an independent web developer working with marketing teams and small businesses on WordPress and fast, secure websites. Questions and suggestions come straight to me through the support forum.

Developer documentation

Filter: cfb_must_login_redirect_url

Send logged-out visitors somewhere other than the default login page.

add_filter( 'cfb_must_login_redirect_url', function ( $redirect_url, $redirect_to ) {
    return 'https://example.com/custom-login';
}, 10, 2 );

Filter: cfb_must_login_allowed_rest_routes

Keep additional REST API endpoints open while protection is on.

add_filter( 'cfb_must_login_allowed_rest_routes', function ( $routes ) {
    $routes[] = '/my-plugin/v1/public';
    return $routes;
} );

Action: cfb_must_login_clear_cache

Runs whenever the plugin clears caches. Hook in to clear a cache it doesn’t know about.

add_action( 'cfb_must_login_clear_cache', function () {
    // Your custom cache clearing.
} );

Capability: cfb_must_login_manage

Controls who can change the plugin’s settings. It maps to manage_options by default; change it with the map_meta_cap filter.

Installation

  1. In your dashboard, go to Plugins → Add New and search for “CFB Must Login.”
  2. Click Install Now, then Activate.
  3. Click the lock icon in the admin bar to require login. That’s it.

To adjust REST API protection, go to Settings → CFB Must Login.

To install manually, download the zip, go to Plugins → Add New → Upload Plugin, choose the file and click Install Now, then Activate.

Frequently asked questions

What happens when a logged-out visitor arrives?

They’re sent to the login page. Once they log in, they’re returned to the page they were trying to reach.

What stays public while login is required?

The login, registration and password reset pages, so people can actually sign in. A few other things stay reachable too: oEmbed, which can reveal a post’s title to anyone who knows its URL. Media Library files, for anyone with a direct link, because your web server serves them without loading WordPress.

Will this affect search engines?

Yes. While login is required, search engines can’t crawl your site. That’s what you want for a private site, but switch it off before you launch publicly.

What does REST API protection do?

WordPress exposes posts, pages and other data at /wp-json/. With protection on, logged-out requests to those endpoints are refused. It’s on by default and can be turned off separately under Settings → CFB Must Login.

Which REST API endpoints stay open?

Even with protection on, these keep working: Login and authentication (JWT Authentication, Simple JWT Login, current-user lookup and registration) Contact forms (Contact Form 7, WPForms, Gravity Forms) oEmbed Developers can open more with the cfb_must_login_allowed_rest_routes filter.

Does it work with caching plugins?

Yes. When you toggle the login requirement, CFB Must Login clears the cache for WP Super Cache, W3 Total Cache, WP Rocket, LiteSpeed Cache, WP Fastest Cache, Autoptimize, Cache Enabler, Comet Cache, SG Optimizer and WP-Optimize. If you use server-level or CDN caching, purge that too.

Can I keep some pages public?

Not yet. Version 1.0 requires login for the entire site.

Does it work with membership plugins?

Yes. It simply makes sure people are logged in. Your membership plugin keeps handling who can see what.

Can I send visitors to a custom login page?

Yes, with the cfb_must_login_redirect_url filter. See the developer documentation above.

Changelog

1.0.1

  • Fix: RSS feeds now require login while the site is private. Previously they showed full post content to logged-out visitors.
  • Tested with WordPress 7.1.

1.0.0

  • Initial release.
  • One-click toggle in the admin bar.
  • Configurable REST API protection with selective endpoint access.
  • Automatic cache clearing for popular caching plugins, with admin notices.
  • Translation ready.

Full changelog on WordPress.org →

For developers

Is this your plugin? Show off the numbers.

Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.

Active installs badge Rating badge Health score badge

Best CFB Must Login alternatives

All intranet plugins →
Alternatives
Rank Plugin Active installs Rating Updated Health
1 Intranet & Private Site – All-In-One Intranet Intranet & Private Site – All-In-One Intranet Turn WordPress into a private intranet in one click. Restrict access to logged-in members… by Syed Balkhi 3K+ ★★★★★★★★★★ 5 (11) 2 months ago 78
2 wpNamedUsers wpNamedUsers Intranet / Extranet plugin for Wordpress that allows users to specify which users and/or… by andriassundskard 40+ ★★★★★★★★★★ No reviews 16 years ago 24
3 Orbis Orbis Orbis is a powerful, extendable plugin to boost up your business. Project Management… by Pronamic 10+ ★★★★★★★★★★ 4.3 (6) 11 years ago 32
4 Intranet Restriction for Posts and Pages Intranet Restriction for Posts and Pages Allows to restrict the access of specific posts and pages to intranet only. by nyuhuhuu 10+ ★★★★★★★★★★ No reviews 16 years ago 23
5 Simple New Post Emails Simple New Post Emails Allow site members to check a box and get new posts via email. Includes a widget. by 10up 10+ ★★★★★★★★★★ No reviews 5 years ago 23
6 Koloshare Koloshare A private staff file library inside the WordPress site you already pay for, behind a… by Koloshare <10 ★★★★★★★★★★ 5 (2) 2 weeks ago 71
7 IvoryGate IvoryGate Passwordless WordPress sign-in using trusted IIS Windows Authentication and explicit… by sebaklim93411 <10 ★★★★★★★★★★ No reviews 2 weeks ago 64
8 Blocksolid Gateway Blocksolid Gateway Gated content based upon a Members Only flag for pages, posts and categories with Gutenberg… by Peripatus Web Design <10 ★★★★★★★★★★ No reviews 3 weeks ago 64
9 Fulcrum Wiki Fulcrum Wiki Capture knowledge. Find information faster. Share your ideas with others. Save projects… by rockiger <10 ★★★★★★★★★★ No reviews 2 years ago 24
11 IntranetOS Employee Intranet with Entra ID IntranetOS Employee Intranet with Entra ID Employee intranet for WordPress + Microsoft 365: Entra ID SSO, directory sync, unified… by wadimelouk <10 ★★★★★★★★★★ No reviews 2 months ago 55

FAQ

CFB Must Login: quick answers

Straight answers, pulled from live WordPress.org data.

Live data from WordPress.org · checked Oct 8, 2026

Is CFB Must Login free?

Yes. CFB Must Login is free to download and use from the official WordPress.org plugin directory.

Is CFB Must Login safe to use in 2026?

CFB Must Login is a solid plugin choice in 2026, with a few things worth checking first. Was last updated 6 days ago, and scores 64/100 on our health check.

How many websites use CFB Must Login?

CFB Must Login is active on <10 WordPress websites and has been downloaded 628 times since it launched in December 2025. It was downloaded 141 times in the last 30 days.

Does CFB Must Login work with WordPress 7.1?

Yes. The developer has tested CFB Must Login up to WordPress 7.1.3, the latest release. It requires WordPress 5.0 or newer.

What PHP version does CFB Must Login need?

CFB Must Login requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was CFB Must Login last updated?

The latest version, 1.0.1, was released on October 2, 2026 (6 days ago).

Who makes CFB Must Login?

CFB Must Login is developed and maintained by Code For Broke.

What are the best alternatives to CFB Must Login?

The most popular alternatives to CFB Must Login are Intranet & Private Site (3K+ installs), wpNamedUsers (40+ installs) and Orbis (10+ installs).

Powered by PageForge

Want thousands of pages that rank like these? Build them in an afternoon.

This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.

  • CSV, Google Sheets & API data sources
  • AI content, schema & internal links per page
  • Works with Elementor, Gutenberg, Yoast & Rank Math
  • Free on WordPress.org — no credit card
Sarah is here to help!
Hi there! 👋 Need help finding what you're looking for?
Sarah
Sarah
Online & Ready to Help
Hi there! 👋 Need help finding what you're looking for?

We'll use this to continue our conversation

Just now ✓ Verified

Join 500+ SEO Pros Scaling Their Strategy

Get exclusive programmatic SEO tactics, AI content workflows, and the latest PageForge updates delivered straight to your inbox. Stay ahead of the algorithm.

We care about your data in our privacy policy.