Skip to content

RedirectQ

RedirectQ is a rule-based HTTP redirect engine with support for static and dynamic URL mapping, short links, and geo-aware routing.

How it works

Incoming requests are evaluated against an ordered list of rules. Each rule has:

  • an optional match expression that must evaluate to true
  • zero or more extracts that capture values from the request
  • a target template that resolves to the redirect URL

The first rule whose match expression passes (and whose extracts all succeed) is applied. The resolved URL is returned as an HTTP redirect with the rule's configured status code (301, 302, etc.).

Key concepts

Concept Description
Match expressions Boolean expressions that filter which requests a rule applies to
Variables Request properties available inside expressions
Functions Built-in helpers for string manipulation, regex, and map lookups
Extracts Named values captured from the request and used in the target URL
Target templates URL pattern with {token} placeholders resolved at runtime
Static maps Key → value lookup tables
Dynamic maps Condition-based value resolution
Tester Interactive tool to test rules against a simulated request