2013-11-28 39 views
0

例如,我有這個類別,我想將其重定向到產品頁面,這可能嗎?類別URL重定向到產品鏈接

比如我有卡蒂白樺林的產品,它的URL關鍵是卡蒂 - 樺樹林

enter image description here

然後我想以下鏈接企業禮品關鍵重定向到卡蒂 - 樺樹林產品INSTEAD該類別自己的url密鑰。

enter image description here

我們如何做到這一點?這可能嗎?謝謝。

回答

1

您可以使用Magento管理員Url重寫管理來完成此操作(Admin->Catalog->Url Rewrite Management)。在Magento中,可以爲產品和類別設置我們選擇的任何網址。

另一種選擇是,轉到app/code/core/Mage/Catalog/Model/Url.php,然後轉到function _refreshProductRewrite。 在這個函數中,變化:'request_path' => $requestPath,到:'request_path' => 'products/'.$requestPath,

創建產品時,對於老產品重新索引數據時,也對SEO有幫助這將改變產品的URL。

相關問題