douejuan9162 2016-08-03 10:33
浏览 36

如何在magento中更改管理员URL?

Remember that the Magento admin panel is currently accessible through

http://www.localhost.com/magento/admin or http://www.yourdomain.com/admin,

using your own domain name.

But there’s a downside to this. Having the Magento admin panel reachable in the same way for all Magento stores on the web is a security risk. Hackers wil know where to find your admin panel and that’s one of the first steps to get access. So, it’s better to change this path. Doing so requires some additional, and more difficult steps. You can find some good instructions using the following

  • 写回答

1条回答 默认 最新

  • dou11655853 2016-08-03 10:33
    关注

    You can do this from either of the two ways stated below:-

    1) Changing local.xml
    2) Changing Admin URL from Magento Backend Admin Settings
    

    1) Changing local.xml

    – Open app/etc/local.xml – Find the following:-

    <admin>
        <routers>
                <adminhtml>
                    <args>
                        <frontName><![CDATA[admin]]></frontName>
                    </args>
                </adminhtml>
            </routers>
    </admin>
    
    
    <admin>
        <routers>
                <adminhtml>
                    <args>
                        <frontName><![CDATA[admin]]></frontName>
                    </args>
                </adminhtml>
            </routers>
    </admin>
    

    – Change to your desired name. Like:-

    Save the fileRefresh the Cache from Magento Admin (System -> Cache Management)

    Now, you should be able to access admin panel from http://www.example.com/backend/ instead of http://www.example.com/admin/

    评论

报告相同问题?

悬赏问题

  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 CSAPPattacklab
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图
  • ¥15 stm32开发clion时遇到的编译问题