1 of 13

Redirect Manager

nopCommerce 4.9 Plugin — Feature Demo

URL Redirects · 404 Logging · Dynamic Placeholders · Scheduling · CSV Import/Export

2 of 13

What We'll Cover

Plugin Settings

Master toggle, cache, global options

Redirect Rules

Exact match, prefix, wildcards

Dynamic Placeholders

{removeFirst} and {lastSegment}

Scheduling & Expiration

Active From / Active Until date ranges

404 Error Log

Broken link monitoring

HTTP Status Codes

301, 302, 204, 403, 404, 303, 307

3 of 13

Plugin Settings

Setting

Current Value

What It Does

Enabled

✓ On

Master switch — disables all redirects when off

Cache Duration

60 min

Rules cached in memory for performance

Preserve Query String

✓ On

Global toggle — carries ?params to target URL

404 Error Logging

✓ On

Logs every broken link visitors encounter

Redirect Analytics

✓ On

Tracks hit count per redirect rule

Date Range Scheduling

✓ On

Enables Active From / Active Until on rules

Default Redirect Type

301

Pre-selected when creating new rules

⚠ Always clear nopCommerce cache after changing settings or rules

4 of 13

Current Redirect Rules

Request URL

Target URL

Type

Match

Status

Active

/Admin/

https://admin-demo.nopcommerce.com/Admin/{removeFirst}

302

Prefix

Active

✗

/Admin/GiftCard/*

/Admin/Order/{lastSegment}

301

Prefix

Active

✓

/iphone-17-pro-max

/htc-smartphone

301

Exact

Active

✓

/apple-mac-mini-3

/apple-macbook-pro

301

Prefix

Expired

✓

Let's explore each rule and the feature it demonstrates.

5 of 13

Rule 1 — Dynamic Redirect with {removeFirst}

Rule Configuration

Request URL

/Admin/

Target URL

https://admin-demo.nopcommerce.com/Admin/{removeFirst}

Redirect Type

302 — Found (Temporary)

Match Type

Prefix

Active

No (manually toggled off)

Schedule

Mar 27 – Mar 29, 2026

Preserve QS

Yes

Case Sensitive

No

How {removeFirst} Works

Incoming URL:

/Admin/Customer/List

Strip first segment (/Admin):

Customer/List

Final redirect to:

https://admin-demo.nopcommerce.com/Admin/Customer/List

Key Takeaway: {removeFirst} strips the first path segment and appends the rest — one rule handles an entire URL tree.

6 of 13

Rule 2 — Wildcard + {lastSegment} Placeholder

Rule Configuration

Request URL

/Admin/GiftCard/*

Target URL

/Admin/Order/{lastSegment}

Redirect Type

301 — Moved Permanently

Match Type

Prefix

Active

Yes

Schedule

Mar 27 – Mar 28, 2026

How {lastSegment} Works

Incoming URL:

/Admin/GiftCard/Details/42

Extract last segment only:

/Admin/Order/42

{removeFirst} vs {lastSegment} — Quick Comparison

Input: /brand-old/audio/headphones

{removeFirst} → audio/headphones

{lastSegment} → headphones

7 of 13

Rule 3 — Simple Exact Match Redirect

OLD URL

/iphone-17-pro-max

Product discontinued / renamed

301

NEW URL

/htc-smartphone

Current active product page

Match Type

Exact — only this specific URL

Schedule

Mar 27, 2026 → Nov 27, 2027 (long active window)

Use Case

One-to-one product redirect after rename or replacement

SEO Effect

301 transfers full ranking authority to the new URL

8 of 13

Rule 4 — Scheduling & Expired Status

/apple-mac-mini-3 → /apple-macbook-pro

Active Window

NOW

10:59 AM

Active From

8:25 PM

Active Until

EXPIRED

How Scheduling Works

​

Active From — leave blank to activate immediately, or set a future date to schedule.

Active Until — leave blank for no expiry, or set a date for auto-expiration.

Expired rules stay in the list (not deleted) — you can review, reactivate, or repurpose them.

9 of 13

404 Error Log

URL

Hits

First Seen

Last Seen

/apple-macbook-pro-25

9

03/27 11:13 AM

03/27 12:35 PM

/apple-mac-mini

5

03/18 3:20 PM

03/27 8:34 PM

/apple-macbook-pro-2

4

03/18 9:25 PM

03/27 11:05 AM

//apple-mac-mini

2

03/18 9:45 PM

03/27 10:34 AM

/iphone-17-pro-max

1

03/27 4:02 PM

03/27 4:02 PM

Search

Filter by URL

Sort

By hit count to prioritize

Export CSV

Share with SEO team

Delete

Selected or all entries

Create Redirect

One-click from any entry

10 of 13

HTTP Status Codes

301

Moved Permanently

Permanent move — SEO authority transfers

302

Found (Temporary)

Temporary — keeps old URL in index

307

Temporary Redirect

Like 302 but preserves request method

303

See Other

Forces GET request to target

204

No Content

Suppress page — no error shown

403

Not Authorized

Block access completely

404

Not Found

Formally retire URL — no replacement

Target URL is only required for redirect codes (301, 302, 303, 307). Status codes 204, 403, and 404 do not redirect.

11 of 13

More Features

CSV Import / Export

› Export all rules as CSV backup

› Import bulk rules from spreadsheet

› Great for migrations (100+ rules)

Multi-Store Support

› Scope rules to specific stores

› Or apply to All stores globally

› Store dropdown on every rule

Query String Control

› Global toggle in settings

› Per-rule override available

› Preserve UTMs, filters, pagination

Comments: Every rule has an internal notes field — never visible to customers. Use it to document why a rule exists, when it was created, and whether it's intended to be permanent. Invaluable when auditing 50+ rules months later.

12 of 13

Best Practices & Warnings

Never set Request URL to /* — it redirects every page on your store

Avoid redirect loops (A → B → A) — causes ERR_TOO_MANY_REDIRECTS

Always clear cache after creating or editing any rule

Use 301 for permanent changes, 302 for temporary (promotions, A/B tests)

Use scheduling for time-limited campaigns — eliminates human error

Check 404 log within 48-72 hours after any site change

Add comments on every rule — your future self will thank you

13 of 13

Redirect Manager

nopCommerce 4.9

Thank you!