Balkon Posted July 15, 2011 Share Posted July 15, 2011 How to add my own rewriting to .htaccess ? I'd like http://www.紅茶.hk/product.php?id_product=61 to become: http://www.紅茶.hk/混合/蘭紅茶Prestashop URL rewriting only accepts the few ASCII characters ( and by the way the rewriting in 1.4.3 is buggy. Links not going to products don't work. Link to comment Share on other sites More sharing options...
shokinro Posted July 15, 2011 Share Posted July 15, 2011 How to add my own rewriting to .htaccess ? I’d like http://www.紅茶.hk/product.php?id_product=61to become: http://www.紅茶.hk/混合/蘭紅茶 I have not tried out, but I think it is possible that you add new rewrite rules.Prestashop URL rewriting only accepts the few ASCII characters ( and by the way the rewriting in 1.4.3 is buggy. Links not going to products don’t work. I think, the URL rewrite engine does not belong PrestaShop, it is depend your server. Link to comment Share on other sites More sharing options...
Balkon Posted August 4, 2011 Author Share Posted August 4, 2011 Whatever I do my URLs don't change. Strange thing is that even when I delete all text in htaccess, and deactivate Friendly URL's, I still get PS standard rewriting ! Can anybody please explain how to rewrite www.mysite.com/product.php?id_product=37 to www.mysite.com/紅茶 or www.mysite.com/tw/37-紅茶 (tw stands for traditional chinese). Or shine some light on how PS manages URL ? There's no info about this online. I don't mind to make individual rules for each of my 80 products. Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts