title: URL rewriting on IIS
body: <p>I'm trying to get some redirects to work and I'm failing at every turn. I know this is really simple. I'm just not getting it.</p>
  
  <p>I'm working on <code>IIS 10</code> on Windows 10 locally and <code>IIS 7</code> in production.</p>
  
  <pre><code>/standard-admin/documents/
  to
  /standard-admin/index.php?url=documents
  
  and
  
   /standard-admin/admin/documents/
   to
   /standard-admin/admin/index.php?url=documents
  
  and
  
  /standard-admin/admin/documents/add/
  to
  /standard-admin/admin/index.php?url=documents-add
  </code></pre>
  
  <p>I was trying:</p>
  
  <pre><code>standard-admin\/([a-z-]+\/)([a-z-]+\/)?([a-z-]+\/)?
  </code></pre>
  
  <p>Any help is appreciated. Thanks</p>
  
  <p>I've spent hours trying to figure this out and I've looked at many different tutorials, examples, walk-throughs, etc. </p>