[eluser]giovannidc[/eluser]
I set up routes my application and they were working fully on my localhost. When I moved my site over to my server my routes only half work. Routes don't want to work for controllers that are placed in sub folders. Does anyone know why its doing that?
Here is an example of how I set it up:
This works:
Code:
$route['conferencing-rates'] = "content/conferencing_rates";
$route['image-gallery'] = "content/image_gallery";
This doesn't work (controllers are in the admin folder):
Code:
$route['admin'] = "admin/Data";
$route['admin/login'] = "admin/User/login";
What does work if write it all out the usual way eg. admin/User/login
What I have tried is renaming folders and disabling url rewrite.
If anyone knows what I can do, it would be awesome thanks