Magento removes index. php1. from the URL and modifies the configuration file in APACHE2. DocumentRoothomemagento & lt; Directory & gt; OptionsFollowSymLinksAllowOverrideAll change to All & lt; Directory & gt; & lt; Magento remove index. php from the URL
1. modify the configuration file in APACHE2.
DocumentRoot/home/magento/
Options FollowSymLinks AllowOverride All here change to All
Options Indexes FollowSymLinks MultiViews AllowOverride All here changed to All Order allow, deny allow from all
2. enable the apache2 rewrite module.
Command: # a2enmod rewrite
3. log on to the Magento background System, and choose System> Configuration> Website> Search engine Optimization) => Use Web Server Rewrites and select yes (refresh Magento cache ).
4. modify the configuration of the. htaccess file
Make sure that:
######################################## ####
# Enable rewrites
Options + FollowSymLinks
RewriteEngine on
######################################## ####
# You can put here your magento root folder
# Path relative to web root
RewriteBase/
/Etc/in