且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Magento 管理 URL 不起作用:更改后 404,无法返回

更新时间:2023-11-30 12:42:22

ANSWER:我遇到了同样的问题,以前的答案都不适合我.我使用的是 Magento 1.9 版.

ANSWER: I had the same issue and none of previous answers worked for me. I'm using Magento Version 1.9.

这是我为解决问题所做的...

Here's what i did to fix the issue...

  1. 转到您的控制面板并启动 phpMyAdmin.
  2. 找到您的 Magento 数据库并选择 core_config_data 表.
  3. 找到并编辑以下行:
    • 范围:默认"和路径:admin/url/custom"
      • 选中NULL复选框并保存.
  1. Go to your cpanel and launch phpMyAdmin.
  2. Locate your Magento Database and select the core_config_data table.
  3. Locate and edit the following rows:
    • Scope:"Default" and Path:"admin/url/custom"
      • Select the NULL checkbox and save.
  • 将值从 1 更改为 0 并保存.
  • Change value from 1 to 0 and save.
  • 如果尚未将值从 1 更改为 0 并保存.
  • Change value from 1 to 0 if it isn't already and save.
  • 范围:商店"和路径:web/secure/base_url"
  • 范围:商店" 和路径:web/unsecure/base_url"(应位于最后一页)
  • Scope:"Stores" and Path:"web/secure/base_url"
  • Scope:"Stores" and Path:"web/unsecure/base_url" (should be located on the last page)

你就完成

转到您以前的管理网址,它应该可以工作!

go to your previous admin url and it should work!