Hey guys,

I have set a URL Rewrite in my web.config file and it works fine. the only thing I dont know is how to query the string to pass the url value back to my database. (Using VB.NET 4.0)

For example:

http://www.mysite.com/about-us

The above url is passed to my articles.aspx page. How can I tell my articles.aspx to read the "about-us" from the url?

Hope this wasn't too confusing!

Thanks in advance.

Acrow

Code:
<rewrite>
     <rules>
      <rule name="Rewrite All" stopProcessing="true">
            <match url="^(.*)$" />
            <conditions logicalGrouping="MatchAll">
                <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
                <add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
            </conditions>
            <action type="Rewrite" url="article.aspx" />
      </rule>
     </rules>
    </rewrite>