Knowledgebase: Magento
Update The Magento Unsecure/Secure URL
Posted by ASO Admin on 11 February 2020 11:21 AM

If you've moved Magento to another directory, set up a staging store, or have completely changed the URL for your store (and are being redirected to the old URL or are unable to access the backend of Magento to update the config), here is how you can change those values:

  1. Log into cPanel

  2. Navigate to and click on the phpMyAdmin option

  3. From the sidebar on the left, click the name of the database that Magento is using

  4. Click the SQL tab

  5. In the text area, run the following command:

    SELECT * FROM `core_config_data` WHERE `path` LIKE '%base_url%';
     
  6. Click the Check All link and then click the pencil icon

  7. Update the value fields with the correct URL for your site

  8. Click the Go button at the very bottom to save your changes

You should probably delete your cache data as well, so delete the following directory via FTP or SSH:

var/cache/

To do this via SSH, run the following command:

rm -rf var/cache/
(0 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
 
 
Full Name:
Email:
Comments:
Help Desk Software by Kayako fusion
ERROR: This domain name (kb.asmallorange.com), does not match the domain name in the license key file help.asmallorange.com.

For assistance with your license, please contact the Kayako support team: https://support.kayako.com