title: how to rewrite a url with two variables using .htaccess
body: <p>i want rewrite it with a .htaccess i have this url:</p>
  
  <pre><code>../index.php?page=details&amp;id=123456
  </code></pre>
  
  <p>like this:</p>
  
  <pre><code>../detail/123456
  </code></pre>
  
  <p>but I do not really know how to do this. Could you help me to rewrite this url?
  or give me a simple example that I can understand how it works</p>