CodeIgniter Forums
Remove index.php, Controller and Function / Method - 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: Remove index.php, Controller and Function / Method (/showthread.php?tid=44774)



Remove index.php, Controller and Function / Method - El Forum - 08-26-2011

[eluser]Unknown[/eluser]
Hello Everyone,

I'm looking for some help here.

I'm hiding index.php using .htaccess rules.
so this is my URL at present

http://www.example.com/welcome/blog/ABCLIVE-US

Now I want to hide "welcome/blog/" from my URL.
It should look a like, http://www.example.com/ABCLIVE-US

with routing this works but only if I use "index.php". say,

http://www.example.com/index.php/ABCLIVE-US

I want http://www.example.com/ABCLIVE-US to be work.

Please let me know how can I do that?