Do you have a way to end my URLs with a slash please? |
[eluser]nasu[/eluser]
Hello, After reading the guide and search on Google, I have trouble understanding this sentence : «Do not use leading/trailing slashes» you can find this sentence at this address : codeIgniter route (v2.2) If I understand this code is not valid : Code: $route['myFolderWithSlash/'] = ‘exempleController’; In this case, how to get a URL that ends with a slash, without modifying the value below : Code: $config['url_suffix'] = '/'; I often use routes that does not require a slash, exemple : Code: $route['exemple.html'] = 'anotherController'; my urls like "^ index\. php" are automatic redirect to a 404 error (404_override). Do you have a way to end my URLs with a slash please? is it risky to use routes as described either for security or compatibility with future versions? I did my best to translate this topic in English, sorry if you have trouble reading it.
[eluser]stuckinphp[/eluser]
My first question is why do you need this? Answering this will help us figure out a solution I'm sure. Your English is fine. |
Welcome Guest, Not a member yet? Register Sign In |