Question about .htaccess -- remove index.php but leave php extension at end of url? - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21) +--- Thread: Question about .htaccess -- remove index.php but leave php extension at end of url? (/showthread.php?tid=33851) |
Question about .htaccess -- remove index.php but leave php extension at end of url? - El Forum - 09-10-2010 [eluser]Unknown[/eluser] First off -- I know this is bad practice, but sometimes as we all know, the client wants what the client wants. That being said, is there a way to remove index.php from the url and still have the .php extension at the end? Example: http://www.site.com/about/info.php I want to use codeigniter to make this new site, but they said that there must be .php at the end of the url. Yes I understand the W3C advises against this, but, their demands are their demands. Thanks! Question about .htaccess -- remove index.php but leave php extension at end of url? - El Forum - 09-13-2010 [eluser]n0xie[/eluser] Look at the config.php Code: /* Question about .htaccess -- remove index.php but leave php extension at end of url? - El Forum - 09-15-2010 [eluser]Unknown[/eluser] thank you!!!! worked perfectly. I thought I was going to have to do 301 re-directs. |