Hi there
I have the latest version 9.1.1.
Currently I am using this configuration in web.config:
<friendlyUrl defaultProvider="DNNFriendlyUrl">
<providers>
<clear />
<add name="DNNFriendlyUrl" type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules" includePageName="true" regexMatch="[^a-zA-Z0-9 _-]" urlformat="advanced" />
</providers>
</friendlyUrl>
I added this into my SiteUrls.config
<RewriterRule>
<LookFor>.*/Products/Shoes</LookFor>
<SendTo>~/Default.aspx?TabID=33&CategoryID=4</SendTo>
</RewriterRule>
Now in my code, if I want to find the category for this page http://localhost/DNN/Products/Shoes
Request.Params("CategoryID")
I don't get the CategoryID = 4. Just comes with the missing CategoryID.
My "Keep in Querystring Regular Expression" is: /nomo/\d+|/runningDefault/[^/]+|/popup/(?:true|false)|/(?:page|category|sort|tags)/[^/]+|tou/[^/]+|(/utm[^/]+/[^/]+)+
Please let me know what am I missing here.
Thanks