Magento, make urls in layered navigation search results more search engine friendly

In layered navigation when you filter product collection the url will be append in a format like attribute=value&attribute2=value2

These urls are fine but not really great and user friendly so we want to convert it t o attribute/value/attribute2/value. To do this we need to modify the default router

to be continue…