title: Using Rewrite URL in apache...i need some suggestions
body: <p>Actually am trying to do php application without showing the .php extension...i can achieve that by adding .htaccess file within the root folder of the application....but i cant able to get the get request datas from the url so can anyone please help me...
  this is my htaccess code:</p>
  
  <pre><code>RewriteEngine On
  #RewriteBase /
  RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s([^.]+)\.php [NC]
  RewriteRule ^ %1 [R=301,L]
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}.php -f
  RewriteRule ^(.*?)/?$ $1.php [NC,L]
  </code></pre>
  
  <p>i can able to send datas like : <a href="http://test.dev/?123=123" rel="nofollow noreferrer">http://test.dev/?123=123</a>
  i can get 123 as var and 123 as value...
  but i need to send data like : <a href="http://test.dev/123" rel="nofollow noreferrer">http://test.dev/123</a>...
  i need to get the 123 value in the get array....
  please anyone suggest me to achieve this....</p>