Search Engine Safe URLs

  • Thread starter Alexandre Soares
  • Start date
A

Alexandre Soares

Hi,

I've found some code to create search engine safe urls. A filter added to
the Response object parse all urls in the output html and an HttpModule
takes the incoming url, parse it back to it's original form and then
rewrites it using the RewritePath method. It works well, but I have a
problem when I use Forms Authentication: the FormAuthenticationModule adds
to the querystring to redirect to once we're authenticated. Since the filter
method I use adds "/" instead of the "=" and "&" and "?" of the original
querystring, the value of the ReturnUrl querystring parameter gets mixed up
since it contains slashes as well in the path. I was wondering if someone
ever had a similar problem and how they worked around it.

Thank you very much,

Alexandre Soares
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top