Why is it so hard to remove index.php? |
Hi;
There are really 100s of posts on this! I still can't get it to work! I have tried these but non work! Help please. Code: RewriteEngine on Code: RewriteEngine On Code: RewriteEngine on
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php [L]
I'm not sure what's going on but I replied to this topic a while ago. I'll try once more.
RewriteEngine on RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*) index.php [L]
RewriteEngine On
RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^(.*)$ index.php/$1 [L] I use pretty much use what ChicagoPhil uses except I add the RewriteBase / since I use VirtualHost's The index.php line is a bit different to? Give it a try if the other does work for your host.
Also make sure to set your $config['base_url'] and take index.php out of the $config['index_page'] in application/config/config.php file.
Now this is working
Code: RewriteEngine on |
Welcome Guest, Not a member yet? Register Sign In |