CodeIgniter Forums
dash in url - 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: dash in url (/showthread.php?tid=26848)



dash in url - El Forum - 01-25-2010

[eluser]Ajaxian64[/eluser]
Hello everybody,
I would like to have website.com/xxx-yyy and website.com/xxx-yyy/first-second for example
ex: website.com/you-and-me/and-the-other

How can I do this with CI ?

should I write the controller you-and-me.php and the Object controller YouAndMe ?

Thanks


dash in url - El Forum - 01-25-2010

[eluser]richthegeek[/eluser]
http://ellislab.com/codeigniter/user-guide/general/routing.html


dash in url - El Forum - 01-25-2010

[eluser]Ajaxian64[/eluser]
Thank you.
I thought that exists a specific naming convention for files/controller ... (like in cakephp :red: )