Home > Article > CMS Tutorial > How to modify the domain name in phpcms v9
In the process of website development, it is likely that the domain name will be modified many times. So how do we set it up in phpcms v9?
Please make the following modifications:
1. Modify everything related to the domain name in /caches/configs/system.php and change the old domain name to the new domain name.
2. Enter the background settings-->Site Management, and change the domain name of the corresponding site to a new domain name.
3. Click the "Update Cache" button in the upper right corner of the background to update the system cache.
4. Enter content-->Attachment management-->Attachment address replacement. Replace attachment addresses in batches with new addresses.
5. Content-->Batch update url. Update the addresses of all articles.
6. Content-->Manage Column-->Update Column Cache. Change the link address of the column to the new address.
7. If your website is a static page, you need to generate the entire site once. If it is a dynamic page, no need.
8. Open the website and all links will be changed to new addresses.
PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!
The above is the detailed content of How to modify the domain name in phpcms v9. For more information, please follow other related articles on the PHP Chinese website!