locked
How to hide some query strings in a url rewrite RRS feed

  • Question

  • User-1487494846 posted

    I have the following code:


    <rewrite url="Category-(.+)-(.+)-(.+)-(.+)$" to="~/Category.aspx?MCatID=$1&amp;MCatName=$2&amp;SCatID=$3&amp;SCatName=$4"/>

    <rewrite url="Category-(.+)-(.+)$" to="~/Category.aspx?MCatID=$1&amp;MCatName=$2"/>


    I want to change it so that only the MCatName and SCatName show up, is it possible? I tried a couple of ways but didn't seem to work out.

    Monday, November 23, 2009 5:52 PM

Answers