Manually modify magento Domain Name

Source: Internet
Author: User
Tags browser cache

Reference: How to manually change domain in magento



So it turns out the problem was that Apache didn't have write permissions toWEBROOT/varDirectory, so magento was using its cache from the system/tmpDirectory. (Thanks for the tip,Fiasco labs!)

In case someone gets here from Google, I'll reiterate the steps...

How to manually change domain in magento

  1. Update yourcore_config_dataTable to edit the two recordsweb/unsecure/base_urlAndweb/secure/base_url

  2. Delete the contentsWEBROOT/var/cache

  3. Update/edit any.htaccessDomain redirects you may have added

  4. Restart Apache

  5. Make sure Apache has write permissionsWEBROOT/var

  6. If you created a new DB, ensure thatWEBROOT/app/etc/local.xmlIs pointing to it.

  7. If you're using chrome, clear your browser cache! (Chrome caches 301 S)



Manually modify magento Domain Name

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.