Next run the following Magerun command and answer the questions asked by the script: magerun sys:store:config:base-url:set | id | code | unsecure_baseurl | secure_baseurl | This will print a list of your storefronts and their Base URLs: Magento Stores - Base URLs Then use the following command to get an overview of the current Base URLs: magerun sys:store:config:base-url:list Login on your Hypernode using SSH and navigate to your Magento directory: cd ~/public/ Change the Base URLs Using MagerunĬhanging your base url using Magerun is quite easy thanks to the awesome addons created by Peter Jaap Blaakmeer Now clear your cache from the Magento admin or run magerun clear:cache on the command line of the Hypernode. ![]() SELECT path,value FROM core_config_data WHERE path LIKE 'web/secure/base%' Verify the correctness of your base_url settings with the following statement: SELECT path,value FROM core_config_data WHERE path LIKE 'web/unsecure/base%' UPDATE core_config_data SET value = '' WHERE path LIKE 'web/secure/base_url' (don’t forget the trailing slash) UPDATE core_config_data SET value = '' WHERE path LIKE 'web/unsecure/base_url' Replace unsecure url and secure url with the domain name of your webshop. Log into your MySQL database, by connecting and typing your password: mysql -u app -pīelow are the SQL commands to change your base_url values. Make sure to always start your Base URL with or and end it with a slash / Changing the Base URLs Using SSH Change the Base URLs Directly in MySQL from the Commandline
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |