title: how to remove .php extension from the url
body: <p>there is no <code>.htaccess</code> file on my server website folder so i paste <code>.htaccess</code> file from other website in my website and write the rule as </p>
  
  <pre class="lang-none prettyprint-override"><code>RewriteRule ^terms-of-use$ terms-of-use.php [L]
  RewriteRule ^privacy-policy$ privacy-policy.php [L]
  </code></pre>
  
  <p>but does not work.</p>