title: htaccess rule for rewriting URL
body: <p>I have a site like </p>
  
  <pre><code>http://www.mysite.com
  </code></pre>
  
  <p>When I click on sub menus of mysite it appears like</p>
  
  <pre><code> http://www.mysite.com/services/my-service1
  </code></pre>
  
  <p>and a URL not found error is displaying. But I am getting the page when I give URL like</p>
  
  <pre><code>http://www.mysite.com/index.php?page=my-service1
  </code></pre>
  
  <p>But I need to show the page when I give URL like <code>http://www.mysite.com/services/my-service1</code>. How can we achieve this by writing the htaccess rule?</p>
  
  <p>I tried this one, but not working</p>
  
  <pre><code>RewriteEngine On
  RewriteRule ^services/([^/]*)$ /index.php?page=$1 [L]
  </code></pre>