使用cli重置管理员URI
Last update: Fri Mar 14 2025 00:00:00 GMT+0000 (Coordinated Universal Time)
创建对象:
- 初学者
- 开发人员
- 用户
了解如何使用Adobe Commerce Cloud cli命令重置管理员URI。 如果管理员URL从管理员更改为其他管理员,但出现错误,导致您无法访问管理员,则此功能会非常有用。
本教程中使用的一些命令
将配置更改为预期自定义管理路径URL为0:
$ php bin/magento config:set admin/url/use_custom 0
将自定义管理员路径URL的配置更改为0
$ php bin/magento config:set admin/url/use_custom_path 0
recommendation-more-help
3a5f7e19-f383-4af8-8983-d01154c1402f