CodeIgniter Forums

Full Version: URLs from 2.3 to 3.0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi people,

i'm trying to do a migration.

In this project there are lot of URLs without the the rule in routes, and is called directly from code.

For example i have A with the this link:

http://gsh.coexia.net/multi/work

And not works...

I must to change the capital letter of the controller Multi and it woks.

http://gsh.coexia.net/Multi/work

I need to change all the links of code and put the capital letter of controller?

Please i need help!! I can't change the URLs because is a old project and have lot of url indexed in google for example.

Thanks!!
Hi,
CodeIgniter let you override System functions, and so you can create a custom function which handle url, maybe (site_rul()), in that custom function, you can uppercase or lowercase (even ucWord) each URL string.
You don't have to overwrite the links. You only have to rename your controller files with capital first letter "welcome.php" => "Welcome.php"