Modify the base URL of magento

Source: Internet
Author: User

The base URL of magento is used to access the store page. You can also set a base URL for a separate Store View.
Before changing this value, make sure that your domain name has been directed to the IP address of the server where the website is located. After DNS resolution is complete, you can access the website through the domain name.

To change the base URL of magento, you must first enter the background
System> Configuration> Web> unsecure> base URL
And
System> Configuration> Web> secure> base URL


In unsecure, the base link URL, base skin URL, base media URL, and base javascript URL are changed when the website uses the CDN technology, generally, you can use the system default value.
If the website domain name has SSL technology, the base URL in secure should be changedHTTPS: // Yourdomain.com

After modification, refresh the cache.

If the background cannot be accessed, you can also modify the base URL through database operations:
Go to phpMyAdmin, find the corresponding database, and click the "core_config_data" table. It is easy to find the "Web/unsecure/base_url" and "Web/secure/base_url" values.

Modify the base URL of 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.