Skip to content

Instantly share code, notes, and snippets.

@rodde177
Created April 30, 2015 07:54
Show Gist options
  • Save rodde177/f524cc46b3c485cbb8e9 to your computer and use it in GitHub Desktop.
Save rodde177/f524cc46b3c485cbb8e9 to your computer and use it in GitHub Desktop.
Change base url command line
use my_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