🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Konto Get it free
PathGuard Redirects icon
aktiv gepflegt Getestet mit WP 7.1 #91 in access-control

PathGuard Redirects

Block specific relative URLs on your site and redirect visitors to a custom destination or your theme's 404 page.

Aktive Installationen<10Neu
Downloads · 30d71▲ +10,9% vs. 30d
Wertung—0 Bewertungen
Gesundheits-Score60/100Messe
Downloads aller Zeiten416Seit Mai 2026
Unterstützung gelöst—Keine aktuellen Threads
erfordertWP 5.8PHP 7.4+
Downloads · 7d14▼ -41.7% week over week
Unser Urteil

Mit Vorsicht verwenden

PathGuard Redirects works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

  • Getestet mit dem neuesten WordPress (7.1)
  • Kleine Benutzerbasis (<10 aktive Installationen)
  • Bisher sehr wenige Bewertungen

Wie stapelt es sich?

Side-by-side bei Installationen, Updates, Bewertungen und Support

Tägliche Downloads

81725Sep 2Oct 16Nov 30
Gestern1
Täglicher Durchschnitt (1 Jahr)2
Spitzentag34May 22, 2026
Letzte 12 Monate420

Download-Spitzen folgen normalerweise einer neuen Version - jede Website, die automatisch aktualisiert wird, gilt als Download.

Ranglisten

Where PathGuard Redirects stands today

WordPress.org Ranglisten suchen

Live-Position in der Plugin-Suche, Top 100
StichwortPositionKonkurrierende PluginsKategorie
access-control >100 8,205 Best access-control plugins →
block-pages >100 10,000 Best block-pages plugins →
umleiten >100 8,484 Beste Weiterleitungs-Plugins →
Sicherheit >100 10,000 Beste Sicherheits-Plugins →
url-blocker >100 491 Best url-blocker plugins →

About PathGuard Redirects

Aus der offiziellen Readme · V1.1.0

Beschreibung

PathGuard Redirects is a lightweight, developer-friendly plugin that lets site administrators block any relative URL on their WordPress site and control exactly what happens when a visitor tries to access it.

Wie es funktioniert

Add the relative paths you want to block (one per line) and choose what should happen when someone visits them:

  • Custom URL redirect — send visitors to any destination URL with a 302 redirect.
  • 404 Not Found — serve your theme’s native 404 page with a proper HTTP 404 status header (no redirect, the URL stays the same).

Key features

  • Block any number of relative paths (e.g. /secret-page/, /members-only/).
  • Choose the redirect action per-site: custom URL or 404 page.
  • Exclude Admins — logged-in administrators are bypassed by default so they always have access. The option can be unchecked to restrict admins too.
  • One-click access via the Settings link on the Plugins list page.
  • Settings are kept when the plugin is deactivated and removed from the database when it is deleted.
  • Paths are matched with or without a trailing slash and regardless of case — /secret-page, /secret-page/ and /Secret-Page/ all match.
  • URL-encoded paths are decoded before matching, preventing bypass attempts like /%73ecret-page/. Non-ASCII paths (e.g. /café/) are supported.
  • Full URLs pasted into the list are converted to paths on save.
  • Page caches are purged when the rules change (WP Super Cache, WP Rocket, W3 Total Cache, LiteSpeed Cache; other caches can use the pathguard_redirects_rules_updated action).

Sicherheit

  • CSRF protection on every save using WordPress nonces.
  • Strict capability check (manage_options) before processing any form data.
  • All input is sanitised (sanitize_text_field, esc_url_raw, sanitize_key).
  • All output is escaped (esc_textarea, esc_attr, esc_html_e).
  • The redirect destination can only be set by administrators; visitors cannot influence where they are sent.

Installation

  1. Upload the pathguard-redirects folder to /wp-content/plugins/.
  2. Aktivieren Sie das Plugin über den Bildschirm Plugins in WordPress.
  3. Go to Settings → PathGuard Redirects (or click the Settings link on the Plugins page).
  4. Enter the relative URLs you want to block, choose a redirect action, and click Save Settings.

Änderungsprotokoll

Fixes external redirects and URL-encoded path matching. Settings are now kept on deactivation. Saved rules are normalised to lowercase paths the next time you save.

1.1.0

  • Fix: Custom URL redirects to external domains no longer send visitors to wp-admin.
  • Fix: Percent-encoded paths (e.g. /%73ecret-page/) and non-ASCII paths (e.g. /café/) are now matched correctly.
  • Fix: 404 action no longer breaks on classic themes without a 404.php template.
  • Fix: Relative redirect destinations such as /home/ can now be saved.
  • Fix: Destination URLs keep their percent-encoding when saved.
  • Change: Settings are kept on deactivation and removed only when the plugin is deleted.
  • New: Path matching is case-insensitive and supports WordPress installed in a subdirectory.
  • New: Full URLs and paths without a leading slash are normalised on save; duplicates are removed.
  • New: Relative redirect destinations are resolved against the site home.
  • New: Falls back to the 404 page, with a settings warning, if the destination is itself blocked.
  • New: Supported page caches are purged when rules change; new pathguard_redirects_rules_updated action.
  • Tweak: Settings page script is now enqueued properly.

1.0.0

  • Erste Freigabe.
  • Block relative URLs with per-line textarea input.
  • Redirect action: Custom URL (302) or 404 page.
  • Exclude Admins option, pre-enabled on activation.
  • Settings link on the Plugins list page.
  • Automatic database cleanup on deactivation.
  • URL-encoding bypass protection via rawurldecode().
  • CSRF, capability, and sanitisation hardening.

Vollständiges Änderungsprotokoll auf WordPress.org →

Für Entwickler

Ist das dein Plugin? Zeigen Sie die Zahlen.

Fügen Sie Ihrer Website, Docs oder GitHub Readme ein Live-Badge hinzu. Es wird von selbst aktualisiert - kein Konto erforderlich.

Aktiv installiert Badge Bewertungsabzeichen Gesundheits-Score-Abzeichen

Best PathGuard Redirects alternatives

All access-control plugins →
Alternativen
Rang Plugin Aktive Installationen Wertung Aktualisierten Gesundheit
1 PublishPress Capabilities: User Role Access Control, Admin Area Permissions PublishPress Capabilities: User Role Access Control, Admin… User role editing for WordPress. Manage user roles, control capabilities and permissions… von PublishPress 90K+ ★★★★★★★★★★ 4.7 (144) 15 hours ago 95
2 Content Control – die ultimative Content-Einschränkungslösung! Inhalte einschränken, bedingte Blöcke erstellen und mehr Inhaltskontrolle Beschränken Sie den Inhalt basierend auf dem Login-Status, den Benutzerrollen, dem Gerätetyp und mehr. Monetarisieren Sie Ihre… Von Daniel Iser 40K+ ★★★★★★★★★★ 4.9 (576) Vor 2 Monaten 76
3 PublishPress Permissions: Access Control, Content Permissions, User Access PublishPress Permissions: Access Control, Content Permissio… The permissions plugin for posts, pages, categories, tags and more. You can control… von PublishPress 10K+ ★★★★★★★★★★ 4.3 (66) Vor 6 Tagen 89
4 Restrict User Access – Ultimate Membership & Content Protection Restrict User Access Create Access Levels and restrict any post, page, category, etc. Supports bbPress… by Joachim Jensen 10K+ ★★★★★★★★★★ 4.3 (94) Vor 3 Wochen 76
5 Gruppen – Mitgliedschaften und Zugriffskontrolle Gruppen – Mitgliedschaften und Zugriffskontrolle Verwandeln Sie Ihre Website in eine leistungsstarke Mitgliedschaftslösung. Mitglieder, Teams und Zugang zu… von itthinx 10K+ ★★★★★★★★★★ 4.8 (382) Vor 5 Tagen 93
6 SureMembers – Membership & Content Restriction Plugin SureMembers – Membership & Content Restriction Plugin Protect your content, build memberships, and control who sees what on your WordPress site… durch Brainstorming-Kraft 2K+ ★★★★★★★★★★ 5 (3) Vor 2 Wochen 67
7 Quick Download Button Quick Download Button Add stylish download buttons to any post or page — 7 styles, countdown, popup modal, access… von Sidocode 1K+ ★★★★★★★★★★ 4.6 (12) vor 7 Monaten 52
8 SimpleShop SimpleShop The SimpleShop WP plugin connects your WordPress website with a SimpleShop account and… by Redbit s.r.o. 1K+ ★★★★★★★★★★ Keine Bewertungen Vor 3 Monaten 60
9 Menu By User Roles Menu By User Roles Menu By User Roles allows you to control the visibility of menu items based on user roles. by kahnu044 1K+ ★★★★★★★★★★ 5 (3) Vor 2 Monaten 73
10 Gruppen 404 umleiten Gruppen 404 umleiten Leiten Sie 404 um, wenn ein Besucher versucht, auf eine Seite zuzugreifen, die durch Gruppen geschützt ist. von itthinx 1K+ ★★★★★★★★★★ 4.6 (10) Vor 2 Monaten 76

Fragen und Antworten

PathGuard Redirects: quick answers

Gerade Antworten, gezogen von Live WordPress.org Daten.

Quelle: WordPress.org

Is PathGuard Redirects free?

Yes. PathGuard Redirects is free to download and use from the official WordPress.org plugin directory.

Is PathGuard Redirects safe to use in 2026?

PathGuard Redirects works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.

How many websites use PathGuard Redirects?

PathGuard Redirects is active on <10 WordPress websites and has been downloaded 416 times since it launched in May 2026. It was downloaded 71 times in the last 30 days.

Does PathGuard Redirects work with WordPress 7.1?

Yes. The developer has tested PathGuard Redirects up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.

What PHP version does PathGuard Redirects need?

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

When was PathGuard Redirects last updated?

The latest version, 1.1.0, was released on September 27, 2026 (2 months ago).

Who makes PathGuard Redirects?

PathGuard Redirects is developed and maintained by MD. Samrat Hossen.

What are the best alternatives to PathGuard Redirects?

The most popular alternatives to PathGuard Redirects are PublishPress Capabilities:… (90K+ installs), Content Control (40K+ installs) and PublishPress Permissions: A… (10K+ installs).

Angetrieben von PageForge

Eine Vorlage und eine Tabelle. Eine echte Seite für jede Suche.

PageForge Verwandelt jede Zeile eines CSV in eine WordPress-Seite mit eigenem Titel, URL, SEO Felder und Schema entworfen. Kostenlos auf WordPress.org.

  • CSV und XLSX, plus Google Sheets auf Beruf und Unternehmen
  • seinen eigenen Titel, URL, SEO Felder und Schema für jede Seite
  • Arbeitet mit dem Blockeditor, Elementor, Divi und Avada
  • Kostenlos auf WordPress.org, keine Kreditkarte

↑↓ bewegen↵ öffnen