簡體   English   中英

從magento上的舊cubecart網址重定向中刪除index.php

[英]remove index.php from old cubecart urls redirects on magento

我已經遍歷了與從網址中刪除index.php相關的各種答案,這似乎是一個不尋常的變化

我正在將系統從cubecart遷移到magento到culcart URl的外觀

  www.somedomain.com/index.php/test-product-for-total-web-solutions/p_1.html

我需要將其重定向到:

 www.somedomain.com/test-product-for-total-web-solutions/p_1.html

此時,我在系統上輸入的內部core_url_rewrites應該啟動並重定向到新頁面

這是

 www.somedomain.com/test-product-for-total-web-solutions.html

有任何想法嗎?

實際上,通過使用來自creare seo的現有url重寫文件,然后從core_url_rewrite表條目中刪除index.php來解決此問題,因此無需

的index.php /測試產品換總網絡的解決方案/ p_1.html

在core_url_rewrite表請求字段中,我將其更改為

測試產品換總網絡的解決方案/ p_1.html

一切都很好,常規的index.php刪除代碼完成了其余工作

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM