diff options
author | Starla Insigna <hatkirby@fourisland.com> | 2008-12-21 10:51:49 -0500 |
---|---|---|
committer | Starla Insigna <hatkirby@fourisland.com> | 2008-12-21 10:51:49 -0500 |
commit | 7b0c0ef6aeee750eed8258d2e125144bd95a7a43 (patch) | |
tree | 4e32000e1778e4a2833576963fc73178f34ba51f | |
parent | 828e3c4114241e3f0ca3dc481cc2daafc7cfc462 (diff) | |
download | fourisland-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 | .htaccess | 6 |
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 @@ | |||
1 | RewriteEngine On | 1 | RewriteEngine On |
2 | 2 | ||
3 | RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] | ||
4 | RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC,L] | ||
5 | |||
3 | RewriteRule ^blog/$ /index.php?area=blog [QSA,L] | 6 | RewriteRule ^blog/$ /index.php?area=blog [QSA,L] |
4 | RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] | 7 | RewriteRule ^blog/author/(.+).php /index.php?area=blog&author=$1 [QSA,L] |
5 | RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] | 8 | RewriteRule ^blog/tag/(.+).php /index.php?area=blog&tag=$1 [QSA,L] |
@@ -27,6 +30,3 @@ RewriteRule ^projects/ - [L] | |||
27 | RewriteCond %{REQUEST_FILENAME} !-f | 30 | RewriteCond %{REQUEST_FILENAME} !-f |
28 | RewriteCond %{REQUEST_FILENAME} !-d | 31 | RewriteCond %{REQUEST_FILENAME} !-d |
29 | RewriteRule ^(.+).php /index.php?area=$1 [QSA,L] | 32 | RewriteRule ^(.+).php /index.php?area=$1 [QSA,L] |
30 | |||
31 | RewriteCond %{HTTP_HOST} ^www.fourisland.com [NC] | ||
32 | RewriteRule ^(.*)$ http://fourisland.com/$1 [R=301,NC] | ||