Home> CMS Tutorial> PHPCMS> body text

How to modify the domain name in phpcms v9

Release: 2020-01-06 17:24:40
Original
2216 people have browsed it

How to modify the domain name in phpcms v9

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:

1. Modify everything related to the domain name in /caches/configs/system.php and change the old domain name to the new domain name.

2. Enter the background settings-->Site Management, and change the domain name of the corresponding site to a new domain name.

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

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

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

6. Content-->Manage Column-->Update Column Cache. Change the link address of the column to the new address.

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

8. Open the website and all links will be changed to new addresses.

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

The above is the detailed content of How to modify the domain name in phpcms v9. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!