Magento remove index.php from the URL
1. Modify the configuration file in the APACHE2.
documentroot/home/magento/
Options followsymlinks allowoverride all here change
to all
Options Indexes followsymlinks multiviews allowoverride all here change to all Order Allow,deny
2. Enable the Apache2 rewrite module.
Command: #a2enmod rewrite
3. Log in to the Magento backend system (System) + config (configuration) + website (web) + Search Engine optimization (search Engines optimization) and server rewrite ( Use Web Server rewrites), and then select Yes (remember to refresh the Magento cache).
4. Modify the configuration of the. htaccess file
Be sure to:
############################################
# # Enable rewrites
Options +followsymlinks
Rewriteengine on
############################################
# # can put here your Magento root folder
# # Path relative to Web root
Rewritebase/
/etc/in