How to change the base URL for Magento

Source: Internet
Author: User

The base URL for Magento is the URL used to access the store page, or you can set a base URL for a single store view.
Before you change this value, make sure that your domain name is already pointing to the IP,DNS resolution of the server on which the site is located before you can access it properly through the domain name.

To change the base URL of the Magento, you need to enter the background first
System > Configuration > Web > Unsecure > Base URL
And
System > Configuration > Web > Secure > Base URL


Unsecure inside the base Link URL, base Skin url, base Media url, base JavaScript URL General Web site using CDN Technology will change, when not, the general system defaults can be used.
If the site domain has SSL technology, secure the base URL will be changed to HTTPS://yourdomain.com

After the change, you remember to refresh the cache.

If the background is not accessible, you can also modify the base URL through the database operation:
Enter the phpMyAdmin, find the corresponding database, click on the "Core_config_data" table, it is easy to find "Web/unsecure/base_url" and "Web/secure/base_url" two values.

How to change the base URL for Magento

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.