Hi guys,
I have solved this problem by adding new feature and delete old feature values from database.
First of all, let me clarify my problem as following:
1. Upgrade prestashop from 1.4 to 1.6
1. Do some filters on category page (the URL will become #/color-red-yellow)
2. Click into any product page
3. Then hit BACK button, it will show "no product in this category" (URL become #/)
So I checked my database and found that ps_layered_friendly_url has generated data that the feature vales were old and not used anymore.
So how I fixed the problem (require basic MySQL knowledge, so I suggest you backup your db first): 1. Duplicate all the features at BO (for eg: color, material, etc) 2. Update id_feature in table ps_feature_value (do not create new feature values)
3. Update id_feature in table ps_feature_product
4. Delete id_feature_value which are not used anymore from ps_feature_product, ps_feature_value, ps_feature_value_lang
Then rebuilding URL at module block layered navigation and the problem is fixed.