Re: Clean display URL on custom error redirect



With your mention of "rewriting" I had a new term to google on. And yes,
that is exactly what I am trying to do! After a lot of frustration, I have
settled on implementing an IHTTPModule to handle the 'fake' directories. I
have also found that by using the HttpContext.RewritePath overload like:

context.RewritePath("~/Users/Default.aspx?userid=1", false);

I don't have the problems with relative links. (It's passing 'false' as the
second argument that does the trick). The documentation on this is pretty
slim so I have no idea why this works, but it just does.


.



Relevant Pages

  • Re: Structuring informational content for commercial site
    ... felt that google prefers top-level pages. ... rewriting links is another -- and NOT a good idea. ... >> like an html-driven encyclopedia entry with intermittent advertising ... I sell items that are traditional and have been ...
    (alt.internet.search-engines)
  • Re: Structuring informational content for commercial site
    ... > felt that google prefers top-level pages. ... > rewriting links is another -- and NOT a good idea. ... >> Or is it a kind of old-fashioned encyclopedia which is not very useful ... I sell items that are traditional and have been ...
    (alt.internet.search-engines)
  • Slim Google
    ... the G-crawler must have taken few doses and ... Or, may be, Google has finally decided to become slim and trim and come ...
    (alt.internet.search-engines)
  • Re: How to change Hard Disk on VAIO-S series?
    ... Google: vaio s150 open case. ... It is the third entry. ... Prev by Date: ...
    (comp.sys.laptops)
  • Re: The Orthodox Bahai Faith
    ... that's their system it doesn't work on outlook express which I would have ... thought would be the commonest news reader around, ... using a web based service like google? ... Prev by Date: ...
    (talk.religion.bahai)