2014-03-19 19 views
0

我在這裏所描述的相同的問題:Magento URL Rewrite Management preserve GET parameters如何編輯的Magento Rewrite.php繼續獲得參數

我應該做哪一種變化來Rewrite.php?有沒有其他方法可以使其在不改變rewrite.php的情況下工作?

+0

也請看到我的約[Magento的類別重定向切斷的URL的查詢字符串]答案[ 1] [1]:http://stackoverflow.com/questions/26629722/magento-category-redirect-cuts-off-the-querystring-of-an-url – Sergis

回答

1

生成的URL,如:

$this->getUrl("*/controller/action", array('param1'=>value, '_current'=>true)); 

'_current'=>true會保持你當前PARAMS在新的URL