diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2009-11-28 13:47:25 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2009-11-28 13:47:25 -0500 |
commit | e7e54aa96806d55204812f9e6ca5fa06e2943fa2 (patch) | |
tree | 83ab29513e2cbe0146edc02d964f913bd77d915b /.htaccess | |
parent | fff164998dfbcb300d27df78ea6f7a5b2aa541cb (diff) | |
download | fourisland-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 | .htaccess | 8 |
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 | |||
7 | RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] | 7 | RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] |
8 | RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L] | 8 | RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L] |
9 | 9 | ||
10 | RewriteRule ^blog/$ /index.php?area=blog [QSA,L] | 10 | RewriteRule ^blog/$ /index.php?area=archive [QSA,L] |
11 | RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] | 11 | RewriteRule ^blog/author/(.+).php /index.php?area=archive&author=$1 [QSA,L] |
12 | RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] | 12 | RewriteRule ^blog/tag/(.+).php /index.php?area=archive&tag=$1 [QSA,L] |
13 | |||
14 | RewriteRule ^$ /index.php?area=blog [QSA,L] | ||
13 | RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L] | 15 | RewriteRule ^blog/(.+)/ /index.php?area=blog&post=$1 [QSA,L] |
14 | 16 | ||
15 | RewriteRule ^wiki/$ /wiki/Main_Page [QSA] | 17 | RewriteRule ^wiki/$ /wiki/Main_Page [QSA] |