Skip to content

Commit

Permalink
Merge pull request #27 from hidace/master
Browse files Browse the repository at this point in the history
Add note about existing template route
  • Loading branch information
rkingon authored Apr 17, 2017
2 parents b38d0c8 + 32a162d commit 33f1e7b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ Keep all your 301/302 managed within Craft. Very useful when using NGINX because

## Usage

#### NOTE:
The template for the route that you are redirecting from **must not exist** in order to successfully set up the redirect.

#### Regex
To use regex, simply wrap your "Match Uri" field with "#" (Example: "#^products(.*)#" will match products and products/anything-else)
##### Regex Eamples
Expand All @@ -31,4 +34,4 @@ Capture groups are just used by the standard $1, $2, ect. within your "Redirect

**Redirect To:** "shop$1"

*Note, we do not include the "/" because it will be part of the capture group*
*Note, we do not include the "/" because it will be part of the capture group*

0 comments on commit 33f1e7b

Please sign in to comment.