title: Not getting how rewriting URLs exactly works
body: <p>I am not able to grab the concept behind rewriting URLs regardless of so many articles on the web about it.</p>
  
  <p>Suppose absolute path of the webpage I want to see is <code>www.abc.com/games.php?game=1</code>. I want the link <code>www.abc.com/games/game/1</code> to redirect to the above page.</p>
  
  <p>Wouldn't this rule work for it?</p>
  
  <pre><code>RewriteRule games/game/([^/\.]+)/?$ games.php?game=$1 [L]
  </code></pre>
  
  <p>My <code>.htaccess file</code></p>
  
  <pre><code>RewriteEngine On
  RewriteBase /
  RewriteRule games/game/(\d+)/?$ games.php?game=$1 [L, QSA]
  </code></pre>