Home  >  Article  >  CMS Tutorial  >  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?

coldplay.xixi
coldplay.xixiOriginal
2020-06-13 14:27:083071browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn