gpt4 book ai didi

magento-2.0 - Magento 2 管理错误 404 页面未找到,管理 url 也未找到

转载 作者:行者123 更新时间:2023-12-02 20:29:23 27 4
gpt4 key购买 nike

enter image description here

enter image description here

我使用了谷歌上所有可用的方法,但没有任何效果。同样的问题一次又一次地出现。

运行此命令后:php bin/magento info:adminuri。它不显示管理网址。

最佳答案

  1. 检查 app/etc/env.php 中的管理 URL。例如,它可以是这样的(在您的例子中,frontName 是空的吗?)。将前台名称更改为您的偏好,清理缓存并重试。

    return array (  'backend' =>   array (    'frontName' => 'admin_1onald',  ),

  2. 检查 core_config_data 表以查找管理面板中的管理 URL 是否已更改

    从 core_config_data 中选择 *,其中路径如“%custom%”;

检查是否有记录

- 管理/url/use_custom
- 管理/网址/自定义
- 管理/url/use_custom_path
- 管理/url/自定义路径

如果有,调整>缓存清理>重试

关于magento-2.0 - Magento 2 管理错误 404 页面未找到,管理 url 也未找到,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49195958/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com