Home >CMS Tutorial >PHPCMS >What should I do if the website cannot be accessed after changing the domain name of phpcms?
#What should I do if the website cannot be accessed after changing the domain name of phpcms?
#phpcms Solution to the inaccessibility of the website after changing the domain name:
1. Modify all the information related to the old domain name in /caches/configs/system.php , just change the old domain name to the new domain name.
2. Perform background settings->Site Management and modify the domain name of the corresponding site.
3. To update the system cache, click the "Update Cache" button in the upper right corner of the background.
4. Enter content->Attachment Management->Attachment Address Replacement, and replace the attachment addresses with new addresses in batches.
5. Content-> Batch update URL, update the addresses of all articles.
6. The above is to generate the entire site once.
Recommended tutorial: "phpcms tutorial"
The above is the detailed content of What should I do if the website cannot be accessed after changing the domain name of phpcms?. For more information, please follow other related articles on the PHP Chinese website!