1 <IfModule mod_rewrite.c>
4 RewriteBase /<insert web base url here>
7 # make the url nice and clean; the comments shows an url that should be matched
9 # web_base/tag/me+berlin/pic/id
10 RewriteRule tag/([-_a-zA-Z0-9+]*)/pic/([0-9]*) index.php?tag=$1&pic=$2 [L]
12 # web_base/tag/tag1+tag2/page/4
13 RewriteRule tag/([-_a-zA-Z0-9+]*)/page/([0-9]*) index.php?tag=$1&page=$2 [L]
15 # web_base/tag/tag1+tag2
16 RewriteRule tag/([-_a-zA-Z0-9+]*) index.php?tag=$1 [L]
19 RewriteRule pic/([0-9]*) index.php?pic=$1 [L]
22 RewriteRule page/([0-9]*) index.php?page=$1 [L]