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

Solve the problem of phpcms v9 moving out of sync

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

Share

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

This article is about solving phpcms v9 moving out of sync problem. Xiao Bian thinks it is quite practical, so share it for everyone to make a reference. Let's follow the editor and have a look.

How does phpcms v9 move out of sync?

phpcms v9 does the same thing after the website moves

1. Modify all the domain names in/caches/configs/system.php to change the old domain name to the new domain name.

2. Background settings-> site management to modify the domain name of the corresponding site.

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

4. Go to Content-> Attachment Management-> Attachment Address Replacement. Replace the attachment address batch with the new address.

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

The following is the total station are generated once.

Further, how to transfer space and change domain names?

This situation is a bit more complicated than changing domain names and involves database migration.

This situation is more reliable than changing domain names. We often do a good job in the local website and upload it to the space, which involves changing domain names and migrating databases.

Phpcms V9 website migration specific methods are as follows:

Upload all program files (if the host supports online decompression of compressed packages, such as space on the Internet to support. Then type it into a zip package, ftp upload it to the corresponding directory, and extract it online).

Export the sql file of the local database locally, and then use editplus and other software to change the domain name address in batches, such as http://localhost/phpcms, which was originally local, but now the domain name is www.cmsyou.com. Then you need to replace http://localhost/phpcms with http://www.cmsyou.com in batches, and save it after replacement.

In the database management of the server, import the modified sql file through myphpadmin.

Modify the database name password in/caches/configs/database.php extracted in step 1, and modify all domain names in/caches/configs/system.php, changing the old address to the new address.

Login background, update cache, batch update generated html, so the transfer is successful.

Thank you for reading! About solving phpcms v9 move out of sync problem to share here, I hope the above content can have some help for everyone, so that everyone can learn more knowledge. If you think the article is good, you can share it so that more people can see it!

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