Custom URL mapping

Topics: Support Request
Jul 6, 2009 at 7:39 PM
Edited Jul 6, 2009 at 7:42 PM

Hi!

I want something strange. Now I have default URL rewriting scheme for posts: {basedir}/PermaLink,guid,{guid}.aspx and I want to create another scheme: {basedir}/guid={guid}.aspx

or comething like this. I found how I can change this in web.config:

<add matchExpression="LINKRW(?&lt;site&gt;.+).aspx\?(?&lt;param&gt;.+)=(?&lt;value&gt;.+)" mapTo="{param}={value}.aspx"/>

this rewrite links as I want. However all these links are unavailable (send me 404). Can you explain, how do I should modify web.config file to get {basedir}/guid={guid}.aspx url format?

Thanks!

--
WBR, Vadims Podans
MVP: PowerShell