URL rewriting |
[eluser]Ickes[/eluser]
Noob education ongoing.... Trying to learn about URL formation in CI. 1 question I can't seem to answer. For example, Have class Blog with function one_entry(). To access, user goes to this page address -> index.php/blog/one_entry/article-name.html. How would I change that to index.php/blog/<b>one-entry</b>/article-name.html without renaming the function itself? That is, how do I replace _ with -? Is this possible? I have read the User Guide on Routing but don't think that is my answer. I also checked this forum entry but that didn't help either but I may not have grasped all of it. Help for Custom URL. |
Messages In This Thread |
URL rewriting - by El Forum - 07-07-2009, 12:37 PM
URL rewriting - by El Forum - 07-07-2009, 02:06 PM
|