Site Management" and change the domain name of the corresponding site to a new domain name; then click the "Update Cache" button to update the system cache; Finally, just update the addresses of all articles."/> Site Management" and change the domain name of the corresponding site to a new domain name; then click the "Update Cache" button to update the system cache; Finally, just update the addresses of all articles.">

Home  >  Article  >  CMS Tutorial  >  What to do if phpcms pictures are not displayed

What to do if phpcms pictures are not displayed

藏色散人
藏色散人Original
2019-12-28 10:12:213574browse

What to do if phpcms pictures are not displayed

What should I do if the phpcms picture does not display?

When we use phpcms V9 to build a website, it is very likely that we will change the domain name of the website. Sometimes after changing the domain name, there will be a problem that the picture is not displayed. So how to set up PHPCMS V9? The following will tell you the detailed setting method:

First modify the /caches/configs/system.php file and change all the old domain names related to the domain name in it to the new domain name.

Enter the background settings-->Site management, and change the domain name of the corresponding site to a new domain name. As shown in the picture:

What to do if phpcms pictures are not displayed

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

Enter content-->Attachment management-->Attachment address replacement. Replace attachment addresses in batches with new addresses.

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

Content-->Manage columns-->Update column cache. Change the link address of the column to the new address.

If your website is a static page, you need to generate the entire site once. If it is a dynamic page, no need.

Open the website and all links have been changed to new addresses.

If it still does not display after updating these, find the sql file of the database, open it with DW, use batch replacement, replace all the old domain names with the new domain names, and then save it.

PHP Chinese website, a large number of free PHPCMS tutorials, welcome to learn online!

The above is the detailed content of What to do if phpcms pictures are not displayed. 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