Home  >  Article  >  CMS Tutorial  >  How to modify domain name in phpcms

How to modify domain name in phpcms

王林
王林Original
2020-02-06 16:13:153314browse

How to modify domain name in phpcms

1. In the background management center--Settings--Site Management--Modify, the site domain name is changed to the new domain name

How to modify domain name in phpcms

2. Modify the /caches/configs/system.php file in the site directory and change all the domain names in it to new domain names, a total of six; after the change, you also need to change the locally configured domain names

How to modify domain name in phpcms

3. In the background management center, update the cache;

How to modify domain name in phpcms

4. After the update, go to Content--Attachment Management--Attachment Address Replacement

How to modify domain name in phpcms

5. Content--Batch update URL--Start update

How to modify domain name in phpcms

##6. Content-->Management column-- >Update column cache

How to modify domain name in phpcms

7. Generate content page-generate column page-generate homepage

Complete!

Related tutorial sharing:

phpcms tutorial

The above is the detailed content of How to modify domain name in phpcms. 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