CodeIgniter Forums
Additional URI segment before Codeigniter controller - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: Additional URI segment before Codeigniter controller (/thread-63399.html)



Additional URI segment before Codeigniter controller - chandrabhanu - 10-26-2015

Hello there,
While working on a requirement I am facing  bellow problem.

Installation Directory:
root/[CI-Installation Directory]/
But I need to access it like :
root/[CI-Installation Directory]/[ANY NAME]

I can make it work, by Routing URLs.
But main problem is for that I have to write routing condition for each and every controller [ which is not feasible ]

So, is there any solution for that. So that I can ignore the  [ANY NAME]  part in .  [CI-BASE-URL] / [ANY NAME] / Controller/

My Environment Setings are as follows :
- CI V3
- wiredesignz - Modular Extensions - HMVC

Thanks!