Thanks for the reply but it's not exactly what I'm looking for. This will cancel the complete rewrite for a certain pagetype. I want to just exclude certain pagetypes from the rewrite, like this.
Let's say that the page "stuff" is of a certain pagetype I want to exclude that from the rewrite to make it
I don`t think that there is an out of the box solution for that i EPiServer. I think you have to write your own logic for that case. Maybe you could hock on to the HtmlRewritingUrl event and do your own rewriting, or you could hock on to the HtmlRewroteUrl and do you modifications after the rewrite procedure is finished.
Ted Nyberg wrote a great blog about implementing your own rewrite provider. Maybe you can pick up some tips here(http://labs.episerver.com/en/Blogs/Ted-Nyberg/Dates/112276/7/Implementing-a-custom-URL-rewrite-provider-for-EPiServer/).
There is also an page in the SDK, http://sdk.episerver.com/library/cms5/Developers%20Guide/Friendly%20URL.htm, that can be of great use.
BR, Tore Gjerdrum
Have you had a look at UnTouchedPaths?
That would defiantly be a better solution in my case. Thanks for the tip!
Br, Tore Gjerdrum