有没有办法在Magento中更改登录页面URL? [英] Is there a way to change login page URL in Magento?

查看:103
本文介绍了有没有办法在Magento中更改登录页面URL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想更改Magento中用于客户登录的URL.

I want to change the URL for customer login in Magento.

从URL

www.mydomain.com/customer/account/login/

对于这样的事情:

www.mydomain.com/login

我该怎么做?

推荐答案

我还没有尝试过这种方法,但是可以通过url重写来实现.

I have not tried this method yet but you can achieve this with url rewrite.

转到url重写并添加自定义url重写,并提供唯一的id路径.

Go to url rewrite and add custom url rewrite, give unique id path.

然后在请求路径中给www.mydomain.com/login这个URL,在目标路径中给这个URL www.mydomain.com/customer/account/login/ magento内部考虑目标路径以供使用.

And in request path give www.mydomain.com/login this url and in target path give this url www.mydomain.com/customer/account/login/ magento internally consider target path for its use.

有关url重写的更多信息,请参见 http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/urlrewrite/index

For more Info on url rewrite you can see here http://www.magentocommerce.com/wiki/modules_reference/english/mage_adminhtml/urlrewrite/index

http://blog.beetleweb.com/2012 /10/creating custom-magento-url-rewrites/

这篇关于有没有办法在Magento中更改登录页面URL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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