You want to use routes.
Also, your second URL should have been
Using routes will allow you to use URLs such as
And if you want to get rid of the “index.cfm”, the link I provided shows you how to do that as well.
In that case, your URL could just be
Thank you for your answer.
Okay, I’ve read the article and found the following solution:
- addRoute (pattern = “/ about”, handler = “General”, action = “about”);
- addRoute (pattern = “/ tour”, handler = “General”, action = “tour”);
and further more
How can I merge these routes? Possibly with regex?
Thanks a lot
2012/8/15 Brad Wood <firstname.lastname@example.org>