[SOLVED]Index.php URL problem[SOLVED]

mosquito2012
mosquito2012's picture

Joined: 2012-11-09
Posts: 80
Posted: Fri, 2013-01-18 17:18

Hi All, I have searched on the forum to see how to remove the index.php from the URL, and not been able to get the instructions in the .htaccess file to work.

Quote:
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^$ index.php?kohana_uri=$1 [QSA,PT,L]
RewriteRule ^index.php/(.*) $1 [QSA,R,L]
</IfModule>

When I put this in, I get an "internal server" error message when I next go to my page

http://whatiseewhenilookat.com

 
mosquito2012
mosquito2012's picture

Joined: 2012-11-09
Posts: 80
Posted: Sat, 2013-01-19 21:57

Hi all, I have gotten to the bottom of why this wasnt working.

Basically there was additional code which was conflicting with the above, the hosting service amended it and all works fine now.

http://whatiseewhenilookat.com