Portal Engine Questions on portal engine and web parts.
Version 6.x > Portal Engine > URL rewriting for custom dynamic page View modes: 
User avatar
Member
Member
arif.ict85-gmail - 12/21/2011 8:32:37 AM
   
URL rewriting for custom dynamic page
Hi guys,

I have a custom page. The url looks like http://www.example.com/CourseDetail.aspx?id=10 . We load data by the id from the document and display in page.

How to I rewrite the url that looks like http://www.example.com/abc/xyz.aspx where "abc" and "xyz" both will change. Here, "xyz" is the document title (or url alias) that is the replacement of id querystring in previous url structure. And, "abc" is the course category that will just display in the browser address bar, it is not essential for data loading.

I need to display the title (or url alisas) of the course in the browser, but need to remember id. So that I can load data from the backend with existing code.

Thanks,
ARIF

User avatar
Member
Member
kentico_michal - 12/27/2011 2:49:45 AM
   
RE:URL rewriting for custom dynamic page
Hello,

You can take advantage of using Wildcard Urls that provide a way of dynamic Url rewriting. For more information I would like to point you to the following section of Developer's guide: Wildcard urls.

Best regards,
Michal Legen