title: DotNetNuke URL Rewriting
body: <p>I have a page that I have called menu and the url for the page is mysite.com/menu.</p>
  
  <p>I would like the modules on my menu page to load content according to this url...mysite.com/menu/starters where the 'starters' is the content filter.</p>
  
  <p>So, I have added this to my siteurls.config file...</p>
  
  <pre><code>&lt;RewriterRule&gt;
      &lt;LookFor&gt;.*/menu/([a-zA-Z0-9_-]+)&lt;/LookFor&gt;
      &lt;SendTo&gt;/menu&lt;/SendTo&gt;
  &lt;/RewriterRule&gt;
  </code></pre>
  
  <p>...and sure enough when I run this code in a module on the menu page...</p>
  
  <pre><code>Dim url As String = Request.RawUrl
  If url.Contains("menu/pig-skin") Then
      txtField.Text = "pig-skin has been selected"
  Else
      txtField.Text = "No extra url parts."
  End If
  </code></pre>
  
  <p>...the condition is met and 'pig-skin has been selected' shows.</p>
  
  <p>So all works fine. Except, when I take the  back out of the siteurls.config file, clear the cash then restart the application, everything runs exactly the same. I would of expected it to throw a Page cannot be found error. Why does it still work?</p>
  
  <p>I'm not even sure if I am doing this correctly. If my code is not even close, how do I achieve this?</p>
  
  <p>Thanks for your time with this.</p>