0
请求很简单,但是我找不到实现它的方法。我有类似的链接:在.htaccess文件中重写规则
httр://mysite.com/index.php?lang=EN
httр://mysite.com/index.php?route=add&lang=EN
httр://mysite.com/index.php?route=view&lang=EN
等等。我想要的是创建301重定向,以便EN可以更改为GB。例如,如果客户打开httр://mysite.com/index.php?route=add&lang=EN
,他应该重定向到httр://mysite.com/index.php?route=add&lang=GB
。
我已经搜索了这几天,并没有找到一个工作解决方案。请帮忙。
你好fiskeben,非常感谢你。是的,我最好通过.htaccess来完成此操作。但是,如果我找不到方法,我会使用您的解决方案。 – user2416426