Scriptbaker
SCRIPTBAKERAI & Software Engineering
Magento

Set Magento store's base link URL programmatically

[code language=”php”] $installer->setConfigData(‘web/unsecure/base_link_url’,'{{unsecure_base_url}}mystore/’,’stores̵

· 5 min read

 $installer->setConfigData('web/unsecure/base_link_url','{{unsecure_base_url}}mystore/','stores',$storetId); $installer->setConfigData('web/secure/base_link_url','{{secure_base_url}}mystore/','stores',$storetId); 

S

Scriptbaker Editorial Team

The Scriptbaker editorial team comprises engineers, AI specialists, and digital strategists based in Dubai and Rawalpindi. We write about software development, artificial intelligence, and digital transformation to help organisations build better products. Learn more about us →