Home  >  Article  >  CMS Tutorial  >  What should I do if the path to upload images in phpcms v9 is incorrect?

What should I do if the path to upload images in phpcms v9 is incorrect?

藏色散人
藏色散人Original
2020-04-07 09:12:562377browse

What should I do if the path to upload images in phpcms v9 is incorrect?

What should I do if the path to the uploaded image in phpcms v9 is incorrect?

PHPCMS v9 changes the domain name and the solution to the incorrect image path

In the process of website development, the domain name is likely to be modified many times. So how do we set it up in PHPCMS V9?

Related recommendations: phpcms tutorial

Please modify the following steps:

Modify everything in /caches/configs/system.php that is related to the domain name Yes, just change the old domain name to the new domain name.

Configure background settings-》Site Management Modify the domain name of the corresponding site.

Update system cache. Click the "Update Cache" button in the upper right corner of the background.

Enter content-"Attachment Management-"Attachment address replacement. Replace attachment addresses in batches with new addresses. When you click Attachment Replace, you may see the new address in the input box, then you remember it. This is false. You put in the old one and then the new one. Replace it again.

Content-》Batch update URL. Update the addresses of all articles.

The following is to generate the entire site once.

The above is the detailed content of What should I do if the path to upload images in phpcms v9 is incorrect?. 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