It is not recommended to change it directly from `app/etc/env.php`, always prefer the CLI: php bin/magento setup:config:set --backend-frontname="admin_path" Do not add the first `/` in the `admin_path` as it will result in an invalid parameter exception.