search
HomeCMS TutorialPHPCMSWhat should I do if the connection to the homepage column of phpcms v9 fails?

What should I do if the connection to the homepage column of phpcms v9 fails?

What should I do if the connection to the homepage column of phpcms v9 fails? phpcms V9 After the website domain name is changed and all caches are refreshed, the column link cannot be changed?

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

Please make the following modifications:

● Modify everything related to the domain name in /caches/configs/system.php and change the old domain name to the new one A domain name will do.

● Perform 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.

phpcms V9 After the website domain name is changed and all caches are refreshed, the column link cannot be changed?

1. Open the caches\configs\system.php file, and then replace the domain names in batches, such as replacing http://127.0.0.1 with your new domain name, such as http://127.0 .0.2, Save

2. Log in to the backend, find 'Settings'-'Site Management'-'Default Site', click "Modify" on the right, modify the "Site Domain Name" domain name in the site, and then save it.

3. Find "Content" - Attachment Management - Attachment Address Replacement, and change the new access address to:

For example, the original attachment address is: http://127.0.0.1/uploadfile/ , then the new access address is:

http://127.0.0.2/uploadfile/ Submit for execution after modification.

4. Find "Content" - "Manage Columns", and then click "Update Column Cache".

5. Find the "Content"-"Batch Update Column Page"-"Start Update" button.

6. Find the "Content"-"Batch Update URL"-"Start Update" button.

7. Find the "Content"-"Batch Update Content Pages"-"Start Update" button.

8. Click the "Update Cache" button in the upper right corner to update the entire site cache.

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

The above is the detailed content of What should I do if the connection to the homepage column of phpcms v9 fails?. 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

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

Dreamweaver CS6

Dreamweaver CS6

Visual web development tools

ZendStudio 13.5.1 Mac

ZendStudio 13.5.1 Mac

Powerful PHP integrated development environment

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools