blob: f5e86c55603a9a29a89aec3c49875396fcbc8eda (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteBase /<insert web base url here>
# make the url nice and clean; the comments shows an url that should be matched
# web_base/tag/me+berlin/pic/id
RewriteRule tag/([-_\s,a-zA-Z0-9+]*)/pic/([0-9]*) index.php?tag=$1&pic=$2 [L]
# web_base/tag/tag1+tag2/page/4
RewriteRule tag/([-_\s,a-zA-Z0-9+]*)/page/([0-9]*) index.php?tag=$1&page=$2 [L]
# web_base/tag/tag1+tag2
RewriteRule tag/([-_\s,a-zA-Z0-9+]*) index.php?tag=$1 [L]
# web_base/pic/17
RewriteRule pic/([0-9]*) index.php?pic=$1 [L]
# web_base/page/4
RewriteRule page/([0-9]*) index.php?page=$1 [L]
</IfModule>
|