Start New Discussion within our Web Development Community

redirecting to aspx page which is quite big..For instance jobreport/Detailedjob/JobRefID.aspx?Jobid=1234 ... i WANT TO shorten it as jobreport/JoBRefid.aspx?jobid=1234 code behind on page load..

Does the shortler url actually exist? if so then yes from the code behind hou can simple use the response.redirect method. If not and you just want a cleaner URL the In, you can achieve this by using the URLRewriteModule. You write your rewrite rules in the web.config file.

This article has been dead for over six months. Start a new discussion instead.