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!