Options +FollowSymlinks RewriteEngine On RewriteCond %{HTTP_HOST} !^www\.carleyfoundry$ [NC] RewriteRule ^(.*)$ http://www.carleyfoundry/$1 [R=301,L] RewriteRule ^js\/fckeditor\/fckconfig\.js$ js/fckconfig.js [L] RewriteRule ^js\/fckeditor\/fckconfig-flash\.js$ js/fckconfig-flash.js [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)\.merge\.(css|js)$ _lib/merge.php?file=$1.merge.$2 [L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-l RewriteRule ^(.*)$ index.php [QSA] DirectoryIndex index.php