Many a times we need to update our website host address to be changed.
Its simple!!!
Just run these two query in your mysql admin(phpmyadmin Or smthing)
select * from core_config_data where path like '%base%url%';
this will display the current address of your site.
now update it with ur desired address with these query
update core_config_data set value = 'http://myhostname/js/' where path = 'web/unsecure/base_url';
update core_config_data set value = 'https://myhostname/js/' where path = 'web/secure/base_url';
Clear the cache from backend. And you are done!!!
Its simple!!!
Just run these two query in your mysql admin(phpmyadmin Or smthing)
select * from core_config_data where path like '%base%url%';
this will display the current address of your site.
now update it with ur desired address with these query
update core_config_data set value = 'http://myhostname/js/' where path = 'web/unsecure/base_url';
update core_config_data set value = 'https://myhostname/js/' where path = 'web/secure/base_url';
Clear the cache from backend. And you are done!!!
No comments:
Post a Comment