Update Magento 2 web url by MySQL commands

update core_config_data set value = 'http://example.com/' where path = 'web/unsecure/base_url';
update core_config_data set value = 'https://example.com/' where path = 'web/secure/base_url';

Additionally:

update core_config_data set value = 'http://example.com/' where path = 'web/unsecure/base_link_url';
update core_config_data set value = 'https://example.com/' where path = 'web/secure/base_link_url';

 

0 0 votes
Article Rating
Subscribe
Notify of
guest

0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x