【发布时间】:2018-07-23 17:35:46
【问题描述】:
对于我的 Magento 1.9.1 项目,我想实施会员跟踪。对于会员跟踪,我将在 Magento URL 中添加一个查询字符串。它适用于除产品 URL 之外的所有 URL。每当我点击产品 URL 时,它都会重定向到原始字符串并丢失查询字符串。
Affiliate URL –> https://www.myshop.com/abc-product.html?aff=3
Redirect to original URL –> https://www.myshop.com/abc-product.html
我也尝试过this solution,但它对我不起作用。
我也尝试过this,但没有成功。
而且它只发生在产品 URL 上,其他 URL 不会被重定向。
谢谢。
【问题讨论】:
标签: php .htaccess magento redirect query-string