Search Engine Safe URLs

Discussion in 'ASP .Net' started by Alexandre Soares, Apr 4, 2005.

  1. 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
     
    Alexandre Soares, Apr 4, 2005
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. moondaddy
    Replies:
    4
    Views:
    522
    Steven Cheng[MSFT]
    May 6, 2004
  2. Guest
    Replies:
    2
    Views:
    1,480
    Scott Allen
    Jan 3, 2005
  3. Replies:
    1
    Views:
    635
  4. Sasha
    Replies:
    3
    Views:
    591
    Sasha
    May 22, 2007
  5. Steve T.

    dynamic URLS convert to static URLS for search engines

    Steve T., Mar 1, 2004, in forum: ASP .Net Web Services
    Replies:
    7
    Views:
    293
    Steve T.
    Mar 4, 2004
Loading...

Share This Page