I can not remove index.php form URL

#11
[eluser]Mantero[/eluser]
put this in your .htaccess file (don't edit anything)

Code:
Options -Indexes

RewriteEngine on
RewriteCond $1 !^(index\.php|img|css|script|robots\.txt)

RewriteRule ^(.*)$ index.php/$1 [L]

and change your base url to this:

Code:
$config['base_url']    = '';


Messages In This Thread
I can not remove index.php form URL - by El Forum - 04-11-2011, 06:57 AM
I can not remove index.php form URL - by El Forum - 04-11-2011, 07:02 AM
I can not remove index.php form URL - by El Forum - 04-11-2011, 11:09 PM
I can not remove index.php form URL - by El Forum - 04-12-2011, 12:31 AM
I can not remove index.php form URL - by El Forum - 04-12-2011, 01:57 AM
I can not remove index.php form URL - by El Forum - 04-12-2011, 02:33 AM
I can not remove index.php form URL - by El Forum - 04-14-2011, 04:47 AM
I can not remove index.php form URL - by El Forum - 04-14-2011, 04:50 AM
I can not remove index.php form URL - by El Forum - 04-14-2011, 05:03 AM
I can not remove index.php form URL - by El Forum - 04-14-2011, 05:09 AM
I can not remove index.php form URL - by El Forum - 04-14-2011, 05:19 AM
I can not remove index.php form URL - by El Forum - 04-14-2011, 07:19 AM
I can not remove index.php form URL - by El Forum - 04-15-2011, 03:46 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.