uTPro.Feature.UrlGuard 18.0.0

dotnet add package uTPro.Feature.UrlGuard --version 18.0.0
                    
NuGet\Install-Package uTPro.Feature.UrlGuard -Version 18.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="uTPro.Feature.UrlGuard" Version="18.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="uTPro.Feature.UrlGuard" Version="18.0.0" />
                    
Directory.Packages.props
<PackageReference Include="uTPro.Feature.UrlGuard" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add uTPro.Feature.UrlGuard --version 18.0.0
                    
#r "nuget: uTPro.Feature.UrlGuard, 18.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package uTPro.Feature.UrlGuard@18.0.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=uTPro.Feature.UrlGuard&version=18.0.0
                    
Install as a Cake Addin
#tool nuget:?package=uTPro.Feature.UrlGuard&version=18.0.0
                    
Install as a Cake Tool

uTPro URL Guard for Umbraco

Documentation: https://docs.utpro.dev/uTPro.Feature.UrlGuard/

Manage URL redirects, URL lock/block rules, and 404/500 error request tracking directly inside the Umbraco backoffice (Settings → Advanced → URL Guard).

Supports Umbraco 17 and 18 (net10.0).

NuGet NuGet Downloads Umbraco Marketplace Umbraco 17 | 18 License: Free (proprietary)

Key Features

  • URL Redirects
    • Match Exact URLs (/page1) or Prefix / Child URLs (/page1/*) with optional child-path forwarding (/page1/child → /target/child) and query-string preservation.
    • Redirect to an Umbraco Content node (by GUID key), Media node (by GUID key), or any Custom URL using 301, 302, 307, or 308.
  • URL Lock & Role Enforcement
    • Block sensitive paths (such as /.git, /.env, /wp-login.php) before they reach application controllers.
    • Lock internal or management APIs so only authenticated backoffice users (optionally restricted to specific user group aliases) can access them.
  • Scope Filtering (Website / Backoffice / Both)
    • Every Redirect and Lock rule can target Website only, Backoffice only, or Both.
  • 404 / 500 Error Request Tracker
    • Captures failing requests in the database, grouped by path, status code, scope, and HTTP method with hit counts and last-seen timestamps.
    • Convert any logged 404 into a 301 Redirect or a Lock rule in one click.

Installation

dotnet add package uTPro.Feature.UrlGuard

No Program.cs edits are required. The package self-wires its composer, NPoco database migration, runtime middleware, and backoffice UI on startup.

Configuration

Optional settings under uTPro:Feature:UrlGuard in appsettings.json:

{
  "uTPro": {
    "Feature": {
      "UrlGuard": {
        "Enabled": true,
        "DefaultScope": "both",
        "CaptureErrorStatusCodes": [ 404, 500 ],
        "LogLockedRequests": false,
        "ErrorLogRetentionDays": 30,
        "MaxErrorLogRows": 5000
      }
    }
  }
}

Security

All backoffice management endpoints under /umbraco/management/api/v1/utpro/url-guard require authenticated Settings section access (AuthorizationPolicies.SectionAccessSettings).

License

Free to use (including commercially) under a proprietary End User License Agreement. Distributed as a compiled NuGet package — source is not published; modification, reverse-engineering and redistribution are not permitted.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
18.0.0 52 12/3/2026
17.0.0 50 12/3/2026

v17.0.0 / v18.0.0: Initial release of uTPro URL Guard — URL redirect rules (exact/prefix to Content, Media, or custom URLs), URL lock/block rules with Website/Backoffice/Both scope and role enforcement, and grouped 404/500 request error tracking with one-click rule creation.