Magetno – How to remove index.php from URL(rewrite magetno pages)

You can remove the index.php in the frontend URLs performing the following steps:

  1. Go to the admin section of Magento.
  2. In System -> Configuration -> Web -> Search Engines Optimizations, select YES.
  3. In System -> Configuration -> Web -> Secure -> Use secure URLs in the frontend, select YES.
  4. Edit the your root folder .htaccess and uncomment the line:
    RewriteBase /magento/
  5. Ensure “mod_rewrite” is enabled on your apache server.
  6. Note – Restart your apache server and clear cache of Magento.