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
|
ErrorDocument 404 /error/404.php
# Remember, if you change this file, make sure to update getRewriteURL() in functions.php!
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC]
RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L]
RewriteRule ^blog/$ /index.php?area=archive [QSA,L]
RewriteRule ^blog/author/(.+).php /index.php?area=archive&author=$1 [QSA,L]
RewriteRule ^blog/tag/(.+).php /index.php?area=archive&tag=$1 [QSA,L]
RewriteRule ^$ /index.php?area=blog [QSA,L]
RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L]
RewriteRule ^wiki/$ /wiki/Main_Page [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^wiki/(.+) /w/index.php?title=$1 [QSA,L]
RewriteRule ^quotes/$ /index.php?area=quotes [QSA,L]
RewriteRule ^quotes/(.+).php /index.php?area=quotes&act=$1 [QSA,L]
RewriteRule ^admin/$ /admin.php [QSA,L]
RewriteRule ^admin/(.+).php /admin.php?area=$1 [QSA,L]
RewriteRule ^error/$ /index.php?area=error [QSA,L]
RewriteRule ^error/(.+).php /index.php?area=error&id=$1 [QSA,L]
RewriteRule ^projects/ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+).php /index.php?area=$1 [QSA,L]
|