CodeIgniter redirect problem

#4
[eluser]Suhas nazir[/eluser]
Hey u can simply remove index.php from ur url by using the following code.Copy the code and save it as .htaccess.Now u go to config.php and change it as $config['index_page'] = "";
RewriteEngine On
RewriteCond %{REQUEST_URI} ^/system.*
RewriteRule ^(.*)$ index.php?/$1 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ index.php?/$1 [L]


Messages In This Thread
CodeIgniter redirect problem - by El Forum - 08-13-2010, 07:03 AM
CodeIgniter redirect problem - by El Forum - 08-13-2010, 08:30 AM
CodeIgniter redirect problem - by El Forum - 08-13-2010, 08:31 AM
CodeIgniter redirect problem - by El Forum - 08-13-2010, 08:41 AM
CodeIgniter redirect problem - by El Forum - 08-13-2010, 09:27 AM
CodeIgniter redirect problem - by El Forum - 08-13-2010, 10:31 AM
CodeIgniter redirect problem - by El Forum - 08-14-2010, 07:56 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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