This repository has been archived by the owner on Nov 30, 2017. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urlrewrite.php
72 lines (70 loc) · 2.18 KB
/
urlrewrite.php
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
<?
$arUrlRewrite = array(
array(
"CONDITION" => "#/press-center/media-corporation/(20[0-9]{2})(/?)#",
"RULE" => "YEAR=\$1",
"ID" => "",
"PATH" => "/press-center/media-corporation/index.php",
),
array(
"CONDITION" => "#/press-center/media-corporation/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/press-center/media-corporation/element.php",
),
array(
"CONDITION" => "#/press-center/press-releases/(20[0-9]{2})(/?)#",
"RULE" => "YEAR=\$1",
"ID" => "",
"PATH" => "/press-center/press-releases/index.php",
),
array(
"CONDITION" => "#/press-center/press-releases/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/press-center/press-releases/element.php",
),
array(
"CONDITION" => "#/press-center/corporate-media/(20[0-9]{2})(/?)#",
"RULE" => "YEAR=\$1",
"ID" => "",
"PATH" => "/press-center/corporate-media/index.php",
),
array(
"CONDITION" => "#/about/first-person/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/about/first-person/index.php",
),
array(
"CONDITION" => "#/press-center/news/(20[0-9]{2})(/?)#",
"RULE" => "YEAR=\$1",
"ID" => "",
"PATH" => "/press-center/news/index.php",
),
array(
"CONDITION" => "#/press-center/news/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/press-center/news/element.php",
),
array(
"CONDITION" => "#/enterprises/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/enterprises/element.php",
),
array(
"CONDITION" => "#/products/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/products/element.php",
),
array(
"CONDITION" => "#/purchases/purchases-usc/([a-zA-Z0-9_-]+)(/?)#",
"RULE" => "ELEMENT_CODE=\$1",
"ID" => "",
"PATH" => "/purchases/purchases-usc/element.php",
),
);
?>