forked from foundeo/cfdocs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrewrites.xml
More file actions
42 lines (39 loc) · 992 Bytes
/
rewrites.xml
File metadata and controls
42 lines (39 loc) · 992 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
<?xml version="1.0" encoding="utf-8"?>
<urlrewrite>
<rule>
<from>^/try/([^./]+)/([0-9]+)/?$</from>
<to>/trycf.cfm?name=$1&index=$2</to>
</rule>
<rule>
<from>^/llms.txt$</from>
<to last="true">/llms.cfm</to>
</rule>
<rule>
<from>^/([^./]+)\.md$</from>
<to last="true">/doc.cfm?name=$1&format=md</to>
</rule>
<rule>
<from>^/([^./]+)$</from>
<to>/doc.cfm?name=$1</to>
</rule>
<rule>
<from>^/tag-summary$</from>
<to type="redirect">/tags</to>
</rule>
<rule>
<from>^/t$</from>
<to type="redirect">/tags</to>
</rule>
<rule>
<from>^/f$</from>
<to type="redirect">/functions</to>
</rule>
<rule>
<from>^/application.cfc$</from>
<to type="redirect">/application-cfc</to>
</rule>
<rule>
<from>^/try/([^./]+)/?$</from>
<to>/trycf.cfm?name=$1</to>
</rule>
</urlrewrite>