Redirect to Flash section with UrlRewriter.NET

77 Views Asked by At

I'm using UrlRewriter.NET for URL Rewrite. But my site is made with flash. All flash sections load inside a Default.aspx. When a section is loaded the URL changes to, and can be accessed from mysite.com/Default.aspx#SectionName

My goal is to be able to access from just typing mysite.com/SectionName

So I use this inside my web.config:

<rewrite url="~/Quiniela" to="~/Default.aspx#/Quiniela"/>

And I get a 404 error.

If I use:

<rewrite url="~/Quiniela" to="~/Default.aspx"/>

I get a successful redirect.

So my question is ¿What values do I need to write inside the to="" parameter to achieve redirection to my flash section?

0

There are 0 best solutions below