Skip to content

Instantly share code, notes, and snippets.

@luizventurote
Created October 17, 2016 13:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luizventurote/eb129d0a4c76a4144c5c40bf7aaeb8a0 to your computer and use it in GitHub Desktop.
Save luizventurote/eb129d0a4c76a4144c5c40bf7aaeb8a0 to your computer and use it in GitHub Desktop.
Change Magento 1 domain on database
select * from core_config_data where path like '%base%url%';
update core_config_data set value = 'http://domainname/' where path = 'web/unsecure/base_url';
update core_config_data set value = 'http://domainname/' where path = 'web/secure/base_url';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment