How can I forward a url to the appropriate page?

asp.net, dotnetnuke, forwarding, friendly-url, url-rewriting

Solution

You can create a "friendly URL rule" within DNN. In the Host Settings page, open the Friendly URL section within the Advanced Settings section. From there you can add a new rule, that matches `.*/Join/Default.aspx` and replaces it with `~/JoinOptions/MemberRegistration.aspx` (I'm fairly sure that using that style of URL will work, but I know that you can replace with a URL like `~/Default.aspx?tabid=423`).

Using this scheme, you need to make sure that IIS lets ASP.NET process the request. The easiest way to do that is to add a "Join" folder in your file system with a file called Default.aspx.

Problem

How can I forward a url such as: http://www.mysite.com/Join to the appropriate page: http://www.mysite.com/JoinOptions/MemberRegistration.aspx Is there some way to do this? I'm using a DNN CMS but if you're unfamiliar with DNN and still have a solution for redirecting that would be helpful. Thanks, Matt

Original source