How to remove .html from Magento URL (+programmatically)

To improve the SEO of your store you might consider to remove .html from Magento URL on category and product pages.

There is a few easy ways to make it happen.

First way is to remove it through Magento admin panel. Navigate to System -> Configuration -> Catalog -> Search Engine Optimization and remove the “.html” value from Product URL Suffix and Category URL Suffix.

Make sure you refresh the cache and re-index “Catalog URL Rewrites”.

Second way is to built it in your custom extension. Here is sql update script:


How to remove .html from Magento URL (+programmatically)
4.8 (95%) 4 vote[s]

What do you think?

Required fields are marked *