Phpcms Modifying a domain name

Source: Internet
Author: User

Sometimes the server domain name resolution, need to modify the site domain name, then in the phpcms, like some of the attachment address and so on need to modify. Here is how to systematically modify these addresses.

1, modify the Site directory under the/caches/configs/system.php file, the domain name will be changed into a new domain name, a total of six;

2, in the Background Management center--settings--site management--modification, the site domain name changed to a new domain name

3, in the Background Management Center, update the cache;

4, after the update, the Content-attachment management-attachment address replacement

5. Content--Batch update url--start update

6. Content--Manage Columns--Update column cache

7. Generate content Page-Generate section page-Generate homepage

8, complete, go to the web to see it,

Note: The order is best not reversed!!

Phpcms Modifying a 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.