 Rank: Devotee
Joined: 4/13/2007 Posts: 57 Location: Arlington, VA
|
Hi, all-
I have a site where I need to create profile pages for various schools ad school districts. I have a custom user control that grabs the data required, but I'd like each school and district to have a unique (and friendly) URL for bookmarking purposes. For instance, I'd love to have a url like "www.mydomain.com/schools/[schoolID].aspx", which then takes the schoolID from the page name and feeds it to my user control. Any ideas on how to do this in umbraco?
Thanks! Andrew
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,069 Location: Charleston, West Virginia, United States
|
In umbraco 3.0, you can use URL rewriting to handle this type of request. the config for this is in the config folder, and information on the rewrite itself is at http://urlrewriting.net/en/Default.aspxOn that site is a PDF that explains the configuration structure and details of how to use the module.
• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
|
 Rank: Umbracoholic
Joined: 7/20/2006 Posts: 1,069 Location: Charleston, West Virginia, United States
|
Here is a link to the PDF document, as it is not very obvious at first glance.
• 2007/2008 MVP • 2008/2009 MVP • Core Developer • Certified Professional Level I & II •
|
 Rank: Fanatic
Joined: 7/25/2006 Posts: 396 Location: Silkeborg, Denmark
|
You can find the URL rewrite solution described in this thread: [url]http://forum.umbraco.org/19500[url] Brug for råd til hvordan du driver en god webshop? / Need advice on how to run an effective webshop?
|
 Rank: Devotee
Joined: 4/13/2007 Posts: 57 Location: Arlington, VA
|
As usual, helpful and quick. Thanks, guys!
Andrew
|