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.">
search
HomeCMS TutorialPHPCMSWhat to do if phpcms pictures are not displayed

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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Dreamweaver Mac version

Dreamweaver Mac version

Visual web development tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function