summary refs log tree commit diff stats
path: root/.htaccess
diff options
context:
space:
mode:
Diffstat (limited to '.htaccess')
-rw-r--r--.htaccess37
1 files changed, 37 insertions, 0 deletions
diff --git a/.htaccess b/.htaccess new file mode 100644 index 0000000..8738a13 --- /dev/null +++ b/.htaccess
@@ -0,0 +1,37 @@
1RewriteEngine On
2
3RewriteRule ^blog/$ /index.php?area=blog [QSA,L]
4RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L]
5RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L]
6RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L]
7
8RewriteRule ^comments/(.+)/ /index.php?area=comment&id=$1 [QSA,L]
9
10RewriteRule ^wiki/$ /wiki/Main_Page [QSA]
11RewriteCond %{REQUEST_FILENAME} !-f
12RewriteCond %{REQUEST_FILENAME} !-d
13RewriteRule ^wiki/(.+) /w/index.php?title=$1 [QSA,L]
14
15RewriteRule ^poll/$ /index.php?area=poll [QSA,L]
16RewriteRule ^poll/(.+).php /index.php?area=poll&id=$1 [QSA,L]
17
18RewriteRule ^quotes/$ /index.php?area=quotes [QSA,L]
19RewriteRule ^quotes/(.+).php /index.php?area=quotes&act=$1 [QSA,L]
20
21RewriteRule ^admin/$ /index.php?area=admin [QSA,L]
22RewriteRule ^admin/(.+).php /index.php?area=admin&page=$1 [QSA,L]
23
24RewriteRule ^error/$ /index.php?area=error [QSA,L]
25RewriteRule ^error/(.+).php /index.php?area=error&id=$1 [QSA,L]
26
27RewriteRule ^projects/ - [L]
28
29RewriteRule ^comic/$ /index.php?area=comic [QSA,L]
30RewriteRule ^comic/(.+)/ /index.php?area=comic&comic=$1 [QSA,L]
31
32RewriteCond %{REQUEST_FILENAME} !-f
33RewriteCond %{REQUEST_FILENAME} !-d
34RewriteRule ^(.+).php /index.php?area=$1 [QSA,L]
35
36RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC]
37RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC]