. htaccess basit RewriteRule

0 Cevap php

OK, it sounds simple, it looks simple and it weighs simple. But it's not. I can't for the life of me get this working.

Diyelim ki, bu bir URL yapısı var diyelim:

http://www.test.com/% işlem% [/% param1% /% paramX%]

Ben (aslında bir yeniden yazma istiyorum) yönlendirmek gerekir:

http://www.test.com/index.php?option=com_% işlem% & param = [% param1,%% paramX%]

Örneğin:

http://www.test.com/product/25/allproducts/food/cakes/cheesecake

Oldu:

http://www.test.com/index.php?option=com_product&param=25,allproducts,food,cakes,cheesecake

Fikirler? :-)

0 Cevap