Path & Redirection

Setup redirection and path specific settings like custom header, contents and status codes

Redirection Rules

Add exception case for redirecting any matching URLs

Redirection URL Destination URL Copy Pathname Status Code Remove

Add Redirection Rule

Any matching prefix of the request URL will be redirected to the destination URL, e.g. redirect.example.com
The target URL request being redirected to, e.g. dest.example.com/mysite

Append the current pathname after the redirect destination

old.example.com/blog?post=13 new.example.com/blog?post=13
old.example.com/blog?post=13 new.example.com

Special Path Rules

Advanced customization for response on particular matching path or URL

Matching Path Status Code Exact Match Case Sensitive Enabled Actions

Add Special Path Rule

Any matching prefix of the request URL will be handled by this rule, e.g. example.com/secret

Require exactly match but not prefix match (default). Enable this if you only want to block access to a directory but not the resources inside the directory. Assume you have entered a matching URI of example.com/secret/ and set it to return 401

example.com/secret/image.png (content of image.png)
example.com/secret/image.png HTTP 401
HTTP Status Code to be served by this rule

Work In Progress