In production, the meta robots on my website is configured to be "INDEX,FOLLOW".
In staging, I run an sql query to insert or update it in the core_config_data table to be "NOINDEX,NOFOLLOW".
However, when I try to set it and lock it in the env.php file, Magento tell me that's not possible :
xxx@yyy[19/08/20 15:42:42]:~/xxx/$ php bin/magento config:set --lock-env design/search_engine_robots/default_robots "NOINDEX,NOFOLLOW" The "design/search_engine_robots/default_robots" path doesn't exist. Verify and try again.
And magento is right : the config
design/search_engine_robots/default_robots does not exists in a system.xml file but in
Is there any way to lock the magento design configuration values in the env.php file ?
In my opinion, it would be very convenient to set it in the file as the value is stored in core_config_data, like all the other configurations.