Mono Support Rewrite URL 

Viewed 9634 time(s), 2 post(s), 7/1/2012 1:50:24 PM - by mdaly
7/1/2012 1:50:24 PM
93 Reputation 8 Total posts

Hi,

I am trying to rewrite a url which will take users to the messages page, but I cannot get it to work.

In the linkbutton I have the following: NavigateUrl="/monox/Messages/"

In the web.config file i have included the following code: <rewrite url="^(.*)/Messages/$" to="$1${SocialNetworkingFolder}/Messages.aspx" />

Can anybody help with this as I am eager to get this working asap.

Thank you.

1
7/1/2012 4:47:06 PM
3016 Reputation 428 Total posts

Hi mdaly,

you can try with this example:

<rewrite url="^(.*)/monox/message/(\?(.+))?$" to="$1/Pages/message.aspx/&amp;$3" name="Message" urlPattern="/monox/message/"/>

Regards,

2
This is a demo site for MonoX. Please visit Mono Software for more info.