![]() |
Clean URL issue - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=22) +--- Thread: Clean URL issue (/showthread.php?tid=44354) |
Clean URL issue - El Forum - 08-12-2011 [eluser]Unknown[/eluser] Hi, I am a newbie to CI. I have developed an application and its working fine with the url like, http://localhost/myapp/index.php Also its working fine as below, http://localhost/myapp The same kind of url rewriting is not working for any other pages other than home page. ie http://localhost/myapp/login But other pages are working oif we give the url with index.php like, http://localhost/myapp/index.php/login I have tried so many forums and in vein. Pls someone help me in resolving this. TIA ![]() Clean URL issue - El Forum - 08-12-2011 [eluser]jblack199[/eluser] well since you're using a .htaccess, it would help if you showed us the code in your .htaccess file. cant really help without all the facts. Clean URL issue - El Forum - 08-12-2011 [eluser]SlavomirJ[/eluser] You should decide if you want to use rewrites or not. If you are using rewrites you need to change line in application/config/config.php from Code: $config['index_page'] = 'index.php'; to Code: $config['index_page'] = ''; and... check if you have mod_rewrite enabled in Apache |