From 7b0c0ef6aeee750eed8258d2e125144bd95a7a43 Mon Sep 17 00:00:00 2001 From: Starla Insigna Date: Sun, 21 Dec 2008 10:51:49 -0500 Subject: 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. --- .htaccess | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.htaccess b/.htaccess index 7a6a65c..9b841b1 100755 --- a/.htaccess +++ b/.htaccess @@ -1,5 +1,8 @@ RewriteEngine On +RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] +RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L] + RewriteRule ^blog/$ /index.php?area=blog [QSA,L] RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] @@ -27,6 +30,3 @@ RewriteRule ^projects/ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.+).php /index.php?area=$1 [QSA,L] - -RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] -RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC] -- cgit 1.4.1