I have problems with excluding certain Urls from rewriting in my EPiServer site.
The problem occurs when creating a hyperlink in xhtml editor. For example I want to create a hyperlink to this page that is located on the same server but not in the EPiServer environment:- http://www.xxxxxx.se/kursforum/default.aspx?id=1 EPiServer rewrites this to a hyperlink to the rootpage of the site, which is totaly incorrect. I´ve tried to use:- FriendlyUrlRewriteProvider.UnTouchedPaths.Add("kursforum/default.aspx");in Application_Start. But with no effect at all. I´ve tried several of the suggestion I found when googling, but nothing seems to have any effect on the behaviour. I seems that I need to catch the event that rewrites the url when saving and/or publishing and not at application start.
Anyone have any ideas what to do or have hade a similar problem??
Thansk in advance/Ayman