【问题标题】:In magento admin url, the word "admin" occurs twice. how to remove the second one?在 magento 管理 url 中,单词“admin”出现了两次。如何删除第二个?
【发布时间】:2014-10-28 12:30:15
【问题描述】:

我的客户的管理员网址是这样的;

http://www.example.com/index.php/admin/admin/dashboard/index/key/0981a6bd2f5a06fec85d3c9e297849a0/

admin这个词出现了两次,怎么去掉一次。我检查了 app/etc/local.xml 并在 magento admin->system->configuration->admin 中,默认设置没有变化。

【问题讨论】:

  • 检查您是否正确地为默认商店提供了基本 url,即它在 URL 中不包含 admin
  • @HashidHameed 如果你指向 System->Configuration->web->secure/unsecure-baseurl,那么不,它们不包含管理员。

标签: php magento url


【解决方案1】:

我在magento.stack 上提出了同样的问题,感谢@Marius 立即指出了这个问题。 在 magento admin->System->Configuration->Web 中,“Use Store Codes in URL”设置为“yes”,导致了这个问题。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2013-12-01
    • 2015-06-04
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多