title: .htaccess how to rewrite rule for multi .php files
body: <p>Im using right now the next .htaccess:</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^(.*)$ page1.php?$1 [QSA]
  </code></pre>
  
  <p>its working fine with <code>page1</code>, but not with <code>page2</code></p>
  
  <p>how can i make it to work please?</p>
  
  <p>I tried this:</p>
  
  <pre><code>RewriteRule ^(.*)$ $1.php?$2 [QSA]
  </code></pre>
  
  <p>for every php file in the folder, but it's not working.</p>