CodeIgniter Forums
Remove index.php from URL Helper functions? - 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: Remove index.php from URL Helper functions? (/showthread.php?tid=23776)



Remove index.php from URL Helper functions? - El Forum - 10-21-2009

[eluser]ChazUK[/eluser]
Hi,

I've set up my site to get rid of the ugly index.php that CI puts there on default, but when using functions from the URL Helper like uri_string() it keeps printing out the index.php.

Do I have to go into core code and change it?

Thanks


Remove index.php from URL Helper functions? - El Forum - 10-21-2009

[eluser]Dam1an[/eluser]
Did you remember to change index_page in the config file?
Make sure it's set to an empty string


Remove index.php from URL Helper functions? - El Forum - 10-22-2009

[eluser]ChazUK[/eluser]
Wow, I'm stupid.

I thought I had taken that out right at the beginning of the project.

Thanks for the jump start!