Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The method of changing Domain name in phpcms

2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Editor to share with you how to change the domain name of phpcms. I hope you will gain a lot after reading this article. Let's discuss it together.

The specific methods are as follows:

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

2. Go to backend 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-> replace attachment address. Replace the attachment address with the new address in batch.

5. Content-- > batch update URL. Update the addresses of all the articles.

6. Content-- > manage columns-- > update column cache. Change the link address of the column to the new address.

7. If your site is a static page, you need to generate the whole site once. If it is a dynamic page, it is not needed.

Open the website and all the links have been changed to the new address.

After reading this article, I believe you have a certain understanding of the method of phpcms domain name change, want to know more about it, welcome to follow the industry information channel, thank you for reading!

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report