SOF User
SOF User

Reputation: 7840

URL Rewriting on .NET (iis7)

This is a task to build bi-directional URL rewriting on a .NET platform. The URL's are managed where the result should be.

www.somewhere.com/Region/Program/Cat1/Cat2/Cat3/Catn/ for listings and

www.somewhere.com/Region/Program/document-title-seperated-with-dashes-and-ending-in-a-real-44500012 document id.

For Region it is a call to a database.

For Program it is a translation to a database.

For Cat1 - Catn it is a call to a database.

The current URL looks like www.somewhere.com/programname/?statictext&region=Number&cat=Number

Upvotes: 0

Views: 129

Answers (1)

Jakub Míšek
Jakub Míšek

Reputation: 1050

You can make your own RemapperPage class that implements IHttpHandlerFactory, or define rewriting rules in your .config file when you have installed http://www.iis.net/download/urlrewrite module.

Upvotes: 1

Related Questions