Route management allows you to create custom urls to specific pages within your Vanilla 2 installation. It also comes with some pre-defined default values.
There are four pre-defined routes that have special meaning. They are:
DefaultController is the one you will most likely be working with the most, and by default it is set to "discussions" with an "internal" route type, which means that it will essentially be the same as sending the user to www.yourdomain.com/path/to/vanilla/root/discussions.
Custom routes allow you to create more "user-friendly" urls for commonly requested pages in your installation. For example, if you had a popular discussion at the following url: http://yourdomain.com/community/discussion/12500/hampsters-gonna-hampst You could create a route to this discussion by adding a new custom route with the following values:
With this route in place, users will be able to get at your hampster discussion by going to: http://yourdomain.com/community/hampsters Your old URL will continue to work as well, and this will not affect search engine ranking as we tell the search engines what the canonical url is for every page (Google will treat duplicate routes to the same content as one page).
There are three different route types. They are:
Most of the time, Internal will be the route type of choice. Non-internal routes can take a full url (including http://) as the target, while internal routes can ONLY forward the user to a location within the application.
| Edited June 2011 by Todd |