summary refs log tree commit diff stats
path: root/.htaccess
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2009-11-28 13:47:25 -0500
committerStarla Insigna <hatkirby@fourisland.com>2009-11-28 13:47:25 -0500
commite7e54aa96806d55204812f9e6ca5fa06e2943fa2 (patch)
tree83ab29513e2cbe0146edc02d964f913bd77d915b /.htaccess
parentfff164998dfbcb300d27df78ea6f7a5b2aa541cb (diff)
downloadfourisland-e7e54aa96806d55204812f9e6ca5fa06e2943fa2.tar.gz
fourisland-e7e54aa96806d55204812f9e6ca5fa06e2943fa2.tar.bz2
fourisland-e7e54aa96806d55204812f9e6ca5fa06e2943fa2.zip
Organized blog module
Previously, welcome.php was always loaded if no module was specified. Because of this, the index page blog section was there, while the rest of the blog
code (plus archive code) was in blog.php. Now, the all of the blog is in blog.php and all of the archive is in archive.php.
Diffstat (limited to '.htaccess')
-rwxr-xr-x.htaccess8
1 files changed, 5 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess index 1d64272..7304983 100755 --- a/.htaccess +++ b/.htaccess
@@ -7,9 +7,11 @@ RewriteEngine On
7RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] 7RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC]
8RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L] 8RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L]
9 9
10RewriteRule ^blog/$ /index.php?area=blog [QSA,L] 10RewriteRule ^blog/$ /index.php?area=archive [QSA,L]
11RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] 11RewriteRule ^blog/author/(.+).php /index.php?area=archive&author=$1 [QSA,L]
12RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] 12RewriteRule ^blog/tag/(.+).php /index.php?area=archive&tag=$1 [QSA,L]
13
14RewriteRule ^$ /index.php?area=blog [QSA,L]
13RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L] 15RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L]
14 16
15RewriteRule ^wiki/$ /wiki/Main_Page [QSA] 17RewriteRule ^wiki/$ /wiki/Main_Page [QSA]