title: Want to hide page name in url
body: <p>I just need to know how can I stop displaying my php pages name in url<br/>
  for example:</p>
  
  <blockquote>
    <p><a href="http://cbse.in/classxii/question_papers.php" rel="nofollow">http://cbse.in/classxii/question_papers.php</a> to <a href="http://cbse.in/classxii/" rel="nofollow">http://cbse.in/classxii/</a> or <a href="http://cbse.in/classxii/question_papers/" rel="nofollow">http://cbse.in/classxii/question_papers/</a></p>
    
    <p><a href="http://cbse.in/classxii/computer_science/question_papers.php" rel="nofollow">http://cbse.in/classxii/computer_science/question_papers.php</a> to <a href="http://cbse.in/classxii/computer_science/" rel="nofollow">http://cbse.in/classxii/computer_science/</a> or <a href="http://cbse.in/classxii/computer_science/question_papers/" rel="nofollow">http://cbse.in/classxii/computer_science/question_papers/</a></p>
    
    <p><a href="http://cbse.in/classxii/computer_science/Chapter1/answers.php" rel="nofollow">http://cbse.in/classxii/computer_science/Chapter1/answers.php</a> to <a href="http://cbse.in/classxii/computer_science/Chapter1/" rel="nofollow">http://cbse.in/classxii/computer_science/Chapter1/</a> or <a href="http://cbse.in/classxii/computer_science/Chapter1/answers/" rel="nofollow">http://cbse.in/classxii/computer_science/Chapter1/answers/</a></p>
  </blockquote>
  
  <p>I came to know this is possible by URL rewriting in htaccess.</p>
  
  <p>But not clear idea on this, it will great if someone show me the correct and clear way to do this.</p>