title: Redirect urls with query string to seo-friendly directory like urls
body: <p>I know this question is asked by many users, also I gone through many questions to find the solutions as I am unable to understand the code used in htaccess file. So please kindly help me to solve this issue. I just want to convert a link like: </p>
  
  <blockquote>
    <p>www.abc.com/project.php?proj-cat=some+project+name</p>
  </blockquote>
  
  <p>to url like:</p>
  
  <blockquote>
    <p>www.abc.com/project/some+project+name</p>
  </blockquote>
  
  <p>OR to like:</p>
  
  <blockquote>
    <p>www.abc.com/project/some-project-name/</p>
  </blockquote>
  
  <p>I googled and found a website which creates a htaccess rule for you, using this site I got this:</p>
  
  <pre><code>RewriteEngine on
  RewriteRule project/proj-cat/(.*)/ project.php?proj-cat=$1 [L]
  </code></pre>
  
  <p>but this doesn't redirect to the links above.
  Please help me to find the solution for this and help me understand how it works. Thank You!</p>