Home > CMS Tutorial > PHPCMS > How to change domain name in phpcms

How to change domain name in phpcms

王林
Release: 2020-02-06 15:24:10
Original
3626 people have browsed it

How to change domain name in phpcms

The specific method is as follows:

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.

Related article tutorial sharing: phpcms tutorial

The above is the detailed content of How to change domain name in phpcms. 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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template