title: SEO friendly url using php
body: <p>I am trying to make SEO friendly website using php...</p>
  
  <p>In folder jcheck i have a index.php file which take one parameter "id" as input.</p>
  
  <pre><code>mydomain.com/jcheck/index.php?id=1 works
  </code></pre>
  
  <p>How can i make it as follow </p>
  
  <pre><code>mydomain.com/jcheck/1
  </code></pre>
  
  <p>I have tried making .htaccess file and putting </p>
  
  <pre><code>RewriteEngine on
  
  RewriteCond %{REQUEST_URI} 1/
  RewriteRule 1/ http://mydomain.com/jcheck/index.php?id=1
  </code></pre>
  
  <p>How can i make it work?</p>