index.php vs index.php? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: index.php vs index.php? (/showthread.php?tid=54324) |
index.php vs index.php? - El Forum - 09-03-2012 [eluser]Beginers[/eluser] Hi guys im just curious about this two index.php and index.php? at first i used the index.php but this does not load properly the image so i add ? after index.php so it works properly but then i dont want to show index.php? in the url cuz i looks silly in the url so i remove it using htaccess. after removing the index.php? in the url my page again does not load properly the css file why? pls help. index.php vs index.php? - El Forum - 09-03-2012 [eluser]Beginers[/eluser] while for your answer i google and i fount this and it really works. i just add <?php echo base_url();?> in my css file Thanks.. index.php vs index.php? - El Forum - 09-03-2012 [eluser]Captain_Fluffy_Pants[/eluser] to remove index.php from urls. go to app then click on config remove index.php from Code: $config['index_page'] = 'index.php'; Code: $config['index_page'] = ''; |