Remove the .html extension from all Category URL & Product URL Steps Below:
Step 1: Go to System > Config > Catalog
Step 2: From ‘Search Engine Optimizations’ tab delete “.html” from ‘Product URL Suffix’ and ‘Category URL Suffix’
Step 3: Save config.
Step 4: Go to System > Index Management and Reindex All data
Step 5: Clear your caches.