如何设置保留其GET参数的Magento重写规则 [英] How to setup a Magento rewrite rule that keeps it's GET parameters

查看:62
本文介绍了如何设置保留其GET参数的Magento重写规则的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我们的Magento商店中,我们需要一些重写规则以重定向到另一个域.我知道如何在Magento后端重写URl模块中执行此操作,但是找不到找到让重定向保留其参数的方法.

In our Magento shop we need a few rewrite rules that redirect to another domain. I know how to do that in the Magento Backend Rewrite URl Module, but cannot find a way to let the redirect keep it's parameters.

在Magento中是否仍可以执行此操作,还是必须使用Apache mod_rewrite完成此操作?

Is there anyway to do this in Magento, or must this be done with Apache mod_rewrite?

推荐答案

如果要在apache中实现重定向(看起来像什么?),则需要编写apache规则以保留请求参数

If you're implementing the redirect in apache (which is what it looks like?), you'll need to write the apache rule to keep the request parameters.

这篇关于如何设置保留其GET参数的Magento重写规则的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆