title: why .htaccess is showing me "Internal Server Error"?
body: <p>In my site I removed <code>.php</code> extension from the url using <code>.htaccess</code> rules. So that I can go to any page without .php extension. e.g : </p>
  
  <pre><code>http://localhost/aponit/dev/zones (there are no .php extension)
  </code></pre>
  
  <p>Now,I have a link in a php page to update a form data. Link is bellow :</p>
  
  <pre><code>&lt;a class="btn btn-success btn-xs" href="&lt;?php echo SITE_URL."update/$zone_id"?&gt;" &gt;Edit&lt;/a&gt;
  </code></pre>
  
  <p>This link showing following url :</p>
  
  <pre><code>http://localhost/aponit/dev/update/54
  </code></pre>
  
  <p>But unfortunately It's showing me error message : </p>
  
  <p><strong>Internal Server Error</strong>  </p>
  
  <p><strong>I am using following .htaccess rules :</strong></p>
  
  <pre><code>ErrorDocument 404 /not-found.php
  RewriteEngine on
  RewriteCond %{REQUEST_FILENAME} !-f
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteRule ^(.*)$ $1.php [NC,L]
  RewriteRule ^update/([0-9]+) update?z=$1 [L]
  </code></pre>