php MAGENTO 管理员的正确 URL 是什么
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/5817684/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
What is the correct URL for MAGENTO admin
提问by Noor Khan
I don't know why my magento is not working any more
我不知道为什么我的 magento 不再工作了
when I hit "http://localhost.host/amuni/admin" it says
当我点击“http://localhost.host/amuni/admin”时,它说
Oops! This link appears to be broken.but frontend working fine please tell me what should I do.
哎呀!此链接似乎已损坏。但前端工作正常请告诉我我该怎么做。
What is the correct URL?
什么是正确的网址?
回答by Mukesh Chapagain
Try like this: http://localhost.host/amuni/index.php/admin
试试这样:http: //localhost.host/amuni/index.php/admin
Note that "index.php" is added before "admin".
请注意,在“admin”之前添加了“index.php”。
回答by Enterprise Architect
/index.php/admin is one solution, but there are others
/index.php/admin 是一种解决方案,但还有其他解决方案
Although the above URL has worked for the original poster, it's not going to work for everybody. The Magento Admin Url is based on a custom value that is set during the installation. The url can also be changed at any time.
虽然上面的 URL 对原始海报有效,但它并不适用于所有人。Magento Admin Url 基于安装期间设置的自定义值。网址也可以随时更改。
Here's how to find out what your admin url is:
以下是找出您的管理员网址的方法:
If the above solution does not work for you, then you'll need to access your local.xml file which is located in the /app/etc directory. Once you've opened that file, scroll to the bottom, around line 80 I think. You should see a tag called < frontEnd >. It's inside of this tag that your custom Magento Admin Url is located.
如果上述解决方案对您不起作用,则您需要访问位于 /app/etc 目录中的 local.xml 文件。打开该文件后,滚动到底部,我认为大约在第 80 行。您应该会看到一个名为 <frontEnd> 的标记。您的自定义 Magento 管理网址位于此标签内。
The source for this solution was found here, finding your magento admin login.
此解决方案的来源可在此处找到,找到您的 magento 管理员登录名。