How can I get capitalized controller names? |
[eluser]Isos[/eluser]
Hello. I would like to have capitalized controllers that should appear in the URL, something like: www.mywebsite.com/MyBlog .. I tried doing that but I got page not found error. How can this be done? Thanks
[eluser]xwero[/eluser]
You have to hack the loader library to not lowercase the controller class for this to work.
[eluser]Colin Williams[/eluser]
And by "hack" xwero means create an application/libraries/MY_Loader.php file that overrides the necessary methods
[eluser]Matthew Lanham[/eluser]
If i were you though, i'd stick to lowercase as it makes your application much more search engine friendly.
[eluser]DPrevite[/eluser]
I don't think Google cares if they are upper or lower case, but lower case sure does look nicer. |
Welcome Guest, Not a member yet? Register Sign In |