title: Apache .htaccess rewriting
body: <p>this is what I want to achieve.</p>
  
  <p>I want to rewrite this  url
  <a href="http://example.com?page=something" rel="nofollow noreferrer">http://example.com?page=something</a>
  to this
  <a href="http://example.com/something" rel="nofollow noreferrer">http://example.com/something</a></p>
  
  <p>such that i can $_GET whatever is after the url
  $_GET['page']= 'something'</p>
  
  <p>all the tutorials I've read show it like http: //example.com/page /something
  so i was wondering if it is possible without the extra "/"</p>
  
  <p>//Update</p>
  
  <p>this is what i have on the.httaccess file</p>
  
  <p>RewriteEngine on
  RewriteRule ^(.*)/?$ index.php?page=$1 [L]</p>
  
  <p>but when i do a echo($_GET['page'] ); i get index.php</p>