🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
Headless Login Guard icon
Maintenu Testé jusqu'à 7.0.9 #17 in GraphQL

Headless Login Guard

Forces login for backend access in headless WordPress setups while allowing GraphQL/REST API endpoints and essential paths.

Installations actives<10Nouveau
Téléchargements · 30D82▲ +26.2% vs prev. 30d
Évaluation5/51 avis
Score de santé56/100Juste
Téléchargements de tous les temps441Depuis mai 2026
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 8.1+
Téléchargements · 7j11▼ -42.1% week over week
Notre verdict

Utiliser avec prudence

Headless Login Guard works, but test it on a staging site before relying on it in 2026. Is rated 5/5 and was last updated 4 months ago, and scores 56/100 on our health check.

  • Petite base d'utilisateurs (<10 installations actives)
  • Très peu de critiques jusqu'à présent
  • Nécessite PHP 8.1 ou plus récent

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

246Sep 4Oct 18Dec 2
Hier4
Moyenne quotidienne (1 ans)2
Jour de pointe28Aug 4, 2026
12 Derniers mois449

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where Headless Login Guard stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
GraphQL #30 135 Best GraphQL plugins →
headless #36 610 Best headless plugins →
login >100 10,000 Meilleurs plugins de connexion →
API REST >100 10,000 Meilleurs plugins REST-API →
la sécurité >100 10,000 Meilleurs plugins de sécurité →

Répartition des notes

★★★★★ ★★★★★ 5 sur 1 avis

  • 5★100.0%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★0.00%

About Headless Login Guard

À partir du Lisez-moi officiel · v1.1.0

Description

A lightweight plugin that forces login for backend access in a headless WordPress setup. Keeps your WordPress dashboard private while allowing your front end (e.g. Astro, Next.js) to pull content via GraphQL/REST.

Ce qu'il fait

  • Requires authentication for /wp-admin/ and other backend pages
  • Always allows the login page to avoid redirect loops
  • Leaves key endpoints open for headless use:
    • /wp-json/ (REST API)
    • /graphql (WPGraphQL)
    • /wp-admin/admin-ajax.php (AJAX)
    • /wp-cron.php (cron)
    • /robots.txt
    • WordPress core and common SEO sitemap XML paths
    • /wp-content/uploads/* (media)
    • /favicon.ico
    • /newrelic (New Relic monitoring)
  • Logged-in users visiting the backend root get redirected to the dashboard
  • Works with Bedrock layouts (handles root path vs /wp/)

Cas d'utilisation

  • WordPress is the content backend
  • Public site is built with Astro/Next.js/etc
  • Editors log in to WordPress. Visitors never see the backend
  • Front end builds and live pages can still query GraphQL/REST without authentication

Customization

Developers can customize allowed endpoints using the force_login_allowed_patterns filter:

add_filter('force_login_allowed_patterns', function($patterns) {
    $patterns[] = '#^/healthz$#';           // custom health check
    $patterns[] = '#^/status$#';            // uptime checks
    $patterns[] = '#^/wp-json/acf/v3/.*#';  // specific REST namespace
    return $patterns;
});

Installation

  1. Téléchargez les fichiers du plug-in dans le répertoire /wp-content/plugins/headless-login-guard ou installez directement le plugin via l'écran des plugins WordPress.
  2. Activez le plugin via l'écran "Plugins" dans WordPress.
  3. The plugin will automatically start protecting your backend – no configuration needed!

Journal de modifications

Fixes sitemap access and request handling for subdirectory and Bedrock installations.

1.1.0

  • Fixed: Allow WordPress core, Yoast-style, and nested sitemap XML paths
  • Fixed: Match allowlisted endpoints correctly on subdirectory, Bedrock, and multisite installations
  • Fixed: Preserve query strings without duplicating the site path in login redirect destinations
  • Improved: Parse request paths separately from query strings
  • Improved: Send no-cache headers before login redirects
  • Improved: Added redirect, sitemap, query-string, and subdirectory integration tests

1.0.1

  • Added: New Relic monitoring endpoint allowlist pattern (/newrelic) to support APM monitoring
  • Added: WordPress.org plugin directory compatibility
  • Added: Proper plugin structure with activation/deactivation hooks
  • Added: Filter hook for customizing allowed patterns
  • Improved: Code organization and documentation

1.0.0

  • Communiqué initial
  • Restricts backend (/wp-admin/) to authenticated users
  • Allows GraphQL and REST API endpoints for headless front-ends
  • Basic whitelist of essential endpoints (cron, ajax, robots.txt, sitemaps, uploads)

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best Headless Login Guard alternatives

All GraphQL plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 WPGraphQL WPGraphQL WPGraphQL adds a flexible and powerful GraphQL API to WordPress, enabling efficient… de Jason Bahl 30K+ ★★★★★★★★★★ 4.9 (48) Il y a 2 semaines 86
2 WPGraphQL pour ACF WPGraphQL pour ACF WPGraphQL pour ACF intègre de manière transparente des champs personnalisés avancés avec WPGraphQL. de Jason Bahl 10K+ ★★★★★★★★★★ 5 (1) il y a 1 semaine 75
3 WPGraphQL Yoast SEO Addon WPGraphQL Yoast SEO Addon This plugin enables Yoast SEO Support for WPGraphQL. by ash_hitch 10K+ ★★★★★★★★★★ 5 (3) il y a 1 mois 71
4 WPGraphQL IDE WPGraphQL IDE Modern GraphQL IDE for WPGraphQL — schema-aware editor, execution history, saved queries… by Joe Fusco 1K+ ★★★★★★★★★★ Aucun avis Il y a 2 semaines 65
5 Add WPGraphql Send Mail Add WPGraphql Send Mail This plugin enables to send email via WPGraphQL. by ash_hitch 400+ ★★★★★★★★★★ Aucun avis il y a 7 mois 42
6 Add WPGraphQL Redirection Add WPGraphQL Redirection Add WPGraphQl support for redirects made using the popular Redirection Plugin by ash_hitch 400+ ★★★★★★★★★★ Aucun avis il y a 7 mois 42
7 WPGraphQL Blocks WPGraphQL Blocks Get gutenberg blocks as JSON through wp-graphql by Tom Phillips 300+ ★★★★★★★★★★ Aucun avis Il y a 2 ans 29
8 Nullify empty fields for ACF Nullify empty fields for ACF Set Advanced Custom Fields (ACF) empty field value as null instead of false to avoid… by Jabran Rafique 70+ ★★★★★★★★★★ 5 (1) Il y a 3 ans 32
9 Redirection GraphQL Extension Redirection GraphQL Extension Expose redirects set up in Redirection plugin to GraphQL API. by Urban Insight 60+ ★★★★★★★★★★ Aucun avis Il y a 4 ans 25
10 Stellate Stellate Stellate plugin for WordPress by Stellate 50+ ★★★★★★★★★★ 5 (1) Il y a 3 mois 65

FAQ

Headless Login Guard: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is Headless Login Guard free?

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

Is Headless Login Guard safe to use in 2026?

Headless Login Guard works, but test it on a staging site before relying on it in 2026. Is rated 5/5 and was last updated 4 months ago, and scores 56/100 on our health check.

How many websites use Headless Login Guard?

Headless Login Guard is active on <10 WordPress websites and has been downloaded 441 times since it launched in May 2026. It was downloaded 82 times in the last 30 days.

Does Headless Login Guard work with WordPress 7.1?

Headless Login Guard is officially tested up to WordPress 7.0.9, while the latest release is 7.1.5. It may still work, but try it on a staging site first.

What PHP version does Headless Login Guard need?

Headless Login Guard requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was Headless Login Guard last updated?

The latest version, 1.1.0, was released on August 4, 2026 (4 months ago).

Who makes Headless Login Guard?

Headless Login Guard is developed and maintained by Andrew Wilkinson.

What are the best alternatives to Headless Login Guard?

The most popular alternatives to Headless Login Guard are WPGraphQL (30K+ installs), WPGraphQL for ACF (10K+ installs) and WPGraphQL Yoast SEO Addon (10K+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir