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!

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Atom editor mac version download
The most popular open source editor

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

PhpStorm Mac version
The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6
Visual web development tools

mPDF
mPDF is a PHP library that can generate PDF files from UTF-8 encoded HTML. The original author, Ian Back, wrote mPDF to output PDF files "on the fly" from his website and handle different languages. It is slower than original scripts like HTML2FPDF and produces larger files when using Unicode fonts, but supports CSS styles etc. and has a lot of enhancements. Supports almost all languages, including RTL (Arabic and Hebrew) and CJK (Chinese, Japanese and Korean). Supports nested block-level elements (such as P, DIV),