PathGuard Redirects icon
Security

PathGuard Redirects

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

Developer MD. Samrat Hossen
100 Excellentmaintenance
  • 3plugins
  • 100%of plugins updated this year
4/14 badges Profile →

Is PathGuard Redirects safe to install?

Good choice: actively maintained

  • Pass: Actively maintained Last updated 2 months ago (version 1.1.0).
  • Pass: Compatible with current WordPress Tested up to WordPress 7.1; the current release is 7.1. Needs PHP 7.4+.
  • Note: Few reviews so far No ratings on WordPress.org yet.

Check every plugin on your site with the free WordPress plugin checker →

Based on WordPress.org data, checked Nov 19, 2026. Always keep plugins updated and test changes on a staging site.

Overview

PathGuard Redirects describes itself as: “Block specific relative URLs on your site and redirect visitors to a custom destination or your theme's 404 page.”

Developers can extend it through 2 actions and 1 filters, listed below.

We haven't published a hands-on review of PathGuard Redirects yet. Want one, or need help with it? Send us a request.

How to install PathGuard Redirects

  1. Open the plugin installer. In your WordPress dashboard go to Plugins → Add New Plugin.
  2. Search for it. Type “PathGuard Redirects” and pick the one by MD. Samrat Hossen.
  3. Install and activate. Click Install Now, then Activate.
Install with a zip file or WP-CLI

Download the zip from the WordPress.org plugin page, then go to Plugins → Add New Plugin → Upload Plugin, choose the file and click Install Now. Or from the command line:

wp plugin install pathguard-redirects --activate

Requirements: WordPress 5.8+ · PHP 7.4+ · tested up to WordPress 7.1.5

Hooks & customisation

PathGuard Redirects 1.1.0 fires 2 actions and 1 filters. Use them from your child theme or a snippets plugin to change how it behaves without editing its files.

pathguard-redirects — top hooks
// Fires after PathGuard Redirects settings change, so page caches and CDNs can p…
do_action( 'pathguard_redirects_rules_updated' );

// Action in includes/AdminSettings.php
do_action( 'litespeed_purge_all' );

// Filter in includes/URLB_Blocker.php
apply_filters( 'template_include', $template );

Browse all 3 hooks with examples →

PathGuard Redirects: frequently asked questions

Is PathGuard Redirects free?

Yes. PathGuard Redirects is free to download from the official WordPress.org plugin directory and is licensed under the GPL, so you can use it on as many sites as you like. Some developers sell a separate Pro version or paid add-ons; check the developer's website for details.

Is PathGuard Redirects safe to use?

PathGuard Redirects is actively maintained: the latest version was released 2 months ago. As with any plugin, keep it updated and only install it from WordPress.org or the developer.

Does PathGuard Redirects work with WordPress 7.1?

Yes. PathGuard Redirects is tested up to WordPress 7.1, the current release. It requires WordPress 5.8 or later and PHP 7.4 or later.

What are the best alternatives to PathGuard Redirects?

We didn't find a maintained plugin that does exactly the same job. Browse the top-rated Security plugins for related options.

Can I customise PathGuard Redirects without editing its code?

Yes. PathGuard Redirects 1.1.0 fires 2 actions and 1 filters that you can use from a child theme or a code snippets plugin, so your changes survive plugin updates. Browse all 3 hooks with examples.

Done for you

Need PathGuard Redirects to do more?

Clear starting prices, an exact quote before any work, and changes built so plugin updates never wipe them.

Custom hook snippet

from $49

A small, update-safe change built on the plugin’s own hooks.

  • Code written against the plugin’s actions and filters
  • Tested on a staging copy of your site
  • Install instructions included

Typical turnaround: 2–3 business days

Choose this

Bug or conflict fix

from $79

Errors, broken layouts or two plugins that don’t get along.

  • Find the cause on a staging copy
  • Fix without breaking updates
  • Explain what was wrong

Typical turnaround: 1–3 business days

Choose this

Not sure which fits? Describe what you need and we’ll suggest the simplest option.

Need PathGuard Redirects customised?

Tell us what you want changed, added or fixed and we'll reply with an estimate.

WP EXPERTS is independent and not affiliated with MD. Samrat Hossen. Plugin names and logos belong to their owners. Version, rating and install figures from WordPress.org, checked Nov 19, 2026.

More plugins by MD. Samrat Hossen

All 3 →

Capture, search and review every email your WordPress site sends, without touching your theme or mail delivery setup.

Updated 2 months ago 3 hooks

A powerful and lightweight caching plugin for WordPress that improves website performance through page caching and HTML/CSS/JS minification.

Updated 2 months ago 1 hooks

Alternatives in Security

See all →
Reviewed

The best anti-spam protection to block spam comments and spam in a contact form. The most trusted antispam solution for…

5+ million installs Updated 3 months ago 43 hooks

Firewall, Malware Scanner, Two Factor Auth, and Comprehensive Security Features, powered by our 24-hour team. Make security a priority with…

5+ million installs Updated 2 weeks ago 98 hooks

Easily improve site security with WordPress Hardening, Two-Factor Authentication (2FA), Login Protection, Vulnerability Detection and SSL certificate.

3+ million installs Updated 4 weeks ago 116 hooks

Simplified WordPress management. Manage site info, maintenance, security, & redirects.

3+ million installs Updated 7 days ago 7 hooks