title: Redirect index.php to root in .htaccess
body: <p>I installed Magento on my shared hosting server. I have made all the necessary changes in magento admin panel. All the url's work fine. But the only problem is I can access my products on the store using:</p>
  
  <p><a href="http://mydomain.com/category/product.html" rel="nofollow">http://mydomain.com/category/product.html</a> and also with <a href="http://mydomain.com/index.php/category/product.html" rel="nofollow">http://mydomain.com/index.php/category/product.html</a></p>
  
  <p>So I want to know how I can get rid of index.php. I want to redirect the url which consists of index.php to the url without index.php</p>
  
  <p>Before posting here I checked the magento forums and also searched on stackoverflow but found no success.</p>