title: i have two type extension page of php first is .php 2nd .php3
body: <p>I have two types of extension page of php first is <code>.php</code> and the second is <code>.php3</code>.</p>
  
  <p>I am using this code which is removing <code>.php3</code> type but also want to remove <code>.php</code></p>
  
  <pre><code>RewriteOptions inherit
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteRule ^([^\.]+)$ $1.php3 [NC,L]
  </code></pre>