title: Change url in htaccess didnt work
body: <p>I have this url</p>
  
  <pre><code>   mywebsite/chat.php?room=somenameHere
  </code></pre>
  
  <p>I want to change it like:</p>
  
  <pre><code>   mywebsite/chat/somenameHere
  </code></pre>
  
  <p>I have tried that:</p>
  
  <pre><code>Options +SymLinksIfOwnerMatch -MultiViews
  
   ## Mod_rewrite in use.
  
  RewriteEngine On
  RewriteRule ^videos/([0-9]+)/?$ /details.php?object=1&amp;id=$1 [L,QSA,NC]
  RewriteRule ^articles/([0-9]+)/?$ /details.php?object=0&amp;id=$1 [L,QSA,NC]
  RewriteCond %{REQUEST_FILENAME} !-d
  RewriteCond %{REQUEST_FILENAME}\.php -f
  RewriteRule ^(.*)$ $1.php 
  RewriteRule ^chat/([A-Za-z0-9-]+)/?$ chat.php?room=$1 [NC,L]
  </code></pre>
  
  <p>But nothing happen , it didnt work , is there something wrong ? i have looked many tutorials which all say same as i done.</p>
  
  <p>Thanks for guidance!</p>
  
  <p>EDIT:</p>
  
  <p>im getting same page without changing anything and no error. getting this:</p>
  
  <pre><code>  mywebsite/chat.php?room=somenameHere
  </code></pre>