title: htaccess not working for page other than index
body: <p>i want to hide variable from the url for a specific page like for domain/page.php?r=1 to domain/page/1</p>
  
  <p>the htaccess is working for the index page but if i change the htaccess file for the specific page it stops working </p>
  
  <h2>here is my code</h2>
  
  <pre><code>RewriteEngine On 
  RewriteRule ^([a-zA-Z0-9_-]+)$ index.php?r=$1
  RewriteCond %{reset_pass} !-d
  RewriteCond %{reset_pass}\.php -f
  </code></pre>
  
  <p>from this code i can print value of r if the page is index. but if i change it to other page it is not working</p>