Magento home page 301 redirect from index.php
In order to do Search Engine Friendly (SEO) URL’s in magento. Its required that there must be a 301 redirect from http://www.site.com/index.php to http://www.site.com/. Alghtough for safety reason this changes wouldn’t take place from browser based URL. The reason behind that is magento always support two kind of URL
ii) http://www.site.com/index.php/storename
But from Search Engine Point of view we must need to use internal 301 redirect in magento. Here are the steps to internal 301 redict in magento
Login to magento admin then
go to System>> Configuration
Under Web tab there is a section “Auto-redirect to Base URL ” enable it to 301 redirect . Now your home page wouldn’t show index.php there.
If you want to hide Store code in magneto frontend based ULRs then simply select “Add Store Code to Urls ” to No.
Enable SEO friendly URL in magento
Under same location to System>> Configuration
Under Web tab. There is a section “Search Engine Optimization” simply select
“Use Web Server Rewrites ” to “Yes”
Chandra Shekhar
Latest posts by Chandra Shekhar (see all)
- Best practices for micro service design - January 23, 2022
- Spring Boot - January 23, 2022
- Java - January 23, 2022
Recent Comments