从magento上的旧cubecart url重定向中删除index.php


remove index.php from old cubecart urls redirects on magento

我已经了解了这里关于从url中删除index.php的各种答案,这似乎是一个不寻常的变化

我正在将一个系统从cubecart迁移到mage,使cubecart URLl看起来像

  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/test-product-for-tal-web-solutions/p1.html

在core_url_rewrite表请求字段中,我将其更改为

web整体解决方案测试产品/p.1.html

一切都很好,通常的index.php删除代码完成了

的其余工作