summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStarla Insigna <hatkirby@fourisland.com>2008-12-21 10:51:49 -0500
committerStarla Insigna <hatkirby@fourisland.com>2008-12-21 10:51:49 -0500
commit7b0c0ef6aeee750eed8258d2e125144bd95a7a43 (patch)
tree4e32000e1778e4a2833576963fc73178f34ba51f
parent828e3c4114241e3f0ca3dc481cc2daafc7cfc462 (diff)
downloadfourisland-7b0c0ef6aeee750eed8258d2e125144bd95a7a43.tar.gz
fourisland-7b0c0ef6aeee750eed8258d2e125144bd95a7a43.tar.bz2
fourisland-7b0c0ef6aeee750eed8258d2e125144bd95a7a43.zip
Rearranged .htaccess file
The whole pingback RSS error was, at the core, the fault of bad
redirection. The problem was that the redirection from the "www"
subdomain was the last priority in the file, while it should have been
the first.
-rwxr-xr-x.htaccess6
1 files changed, 3 insertions, 3 deletions
diff --git a/.htaccess b/.htaccess index 7a6a65c..9b841b1 100755 --- a/.htaccess +++ b/.htaccess
@@ -1,5 +1,8 @@
1RewriteEngine On 1RewriteEngine On
2 2
3RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC]
4RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L]
5
3RewriteRule ^blog/$ /index.php?area=blog [QSA,L] 6RewriteRule ^blog/$ /index.php?area=blog [QSA,L]
4RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] 7RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L]
5RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] 8RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L]
@@ -27,6 +30,3 @@ RewriteRule ^projects/ - [L]
27RewriteCond %{REQUEST_FILENAME} !-f 30RewriteCond %{REQUEST_FILENAME} !-f
28RewriteCond %{REQUEST_FILENAME} !-d 31RewriteCond %{REQUEST_FILENAME} !-d
29RewriteRule ^(.+).php /index.php?area=$1 [QSA,L] 32RewriteRule ^(.+).php /index.php?area=$1 [QSA,L]
30
31RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC]
32RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC]