hiya, i am having 404 server error, i cant figure out that whats left wrong in .htaccess. my web is www.chill.in and .htacccess is: RewriteEngine on RewriteBase / # if you installed facebook in a subdir use something like below and remove the line above # # RewriteBase /subdirectory/ RewriteRule ^admin/$ index.php/admin/login/ RewriteRule ^admin$ index.php/admin/login/ RewriteCond $1 !^(index\.php|application/images|application/scripts|application/css|application/content|application/settings|favicon.ico) RewriteRule ^(.*)$ index.php/$1 Code (markup):
Is your URL address www.chilly.in or www.chill.in? As HTTP error 404 is not found, and if you have an issue with the .htaccess will show a relay error instead 505 perhaps? Please check the address url, and if you really think the problem is with the .htaccess just type in again in your post thread
You might want to try this attempt instead, but only if the previous didn;t work and please back up the file before making changes to .htaccess RewriteEngine on RewriteCond %{HTTP_HOST} ^chill\.in$ [NC] RewriteRule ^(.*)$ http://www.chill.in/$1 [R=301,L] RewriteBase / # Change only if installed on not target default directory RewriteBase /subdirectory/ RewriteRule ^admin/$ index.php/admin/login/ RewriteRule ^admin$ index.php/admin/login/ RewriteCond $1 !^(index\.php|application/images|application/scripts|application/css|application/content|application/settings|favicon.ico) RewriteRule ^(.*)$ index.php/$1 Code (markup):
I cannot say for sure since I do not know what application you are using, but I think you may need to change this: RewriteCond $1 !^(index\.php|application/images|application/scripts|application/css|application/content|application/settings|favicon.ico) RewriteRule ^(.*)$ index.php/$1 Code (markup): to RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ /index.php/$1 [L] Code (markup): These rules say if the file or directory does not exist pass the reqeust to index.php/$ which is a common method for getting SEO friendly URLs for CMS tools.
bro it works only on home page now , but on register and lost password and other pages having same error 4040
now all pages are working but having errors on header i changed my htaccess to: i added one ? after index.php in last line