title: IIS7 URL Rewrite rule to perform a 301 redirect from *.html files to *.php files
body: <p>I would like to use the URL Rewrite module of IIS7 to create 301 redirects based on a specific pattern.</p>
  
  <p>I have a web site that consists of only .HTML files. I am converting the site to .PHP files, but keeping all of the same filenames. For example, the following urls...</p>
  
  <pre><code>/index.html
  /contact/contact.html
  /membership/member.html
  </code></pre>
  
  <p>will become...</p>
  
  <pre><code>/index.php
  /contact/contact.php
  /membership/member.php
  </code></pre>
  
  <p>Can anyone advise on how to create this rule?</p>
  
  <p>Thanks.</p>