Magento provides very good url rewrite method, some times we wants to remove the index.php from the url Suppose your url is http://www.store.com/index.php/contacts and you wanted to remove index.php from this then here is the solution.