During the development of the website, it is possible to modify the domain name many times. So how do we set it up in the Phpcms V9?
Please make the following steps to modify:
- Modify/caches/configs/system.php inside all and domain name, the former old domain name modified to the new domain name on it.
- Background Settings-site management to modify the corresponding site's domain name.
- Update the system cache. Click the "Update Cache" button in the upper-right corner of the background.
- Access to Content-"attachment management-" attachment address replacement. Replace the attachment address in batches with the new address.
- Content-"Batch update URL." Update the address of all the articles.
- Here is the whole station has been generated once.
Further, how to transfer space, and change the domain name?
This situation is more complicated than changing the domain name, involving the migration of the database.
This situation is more reliable than the replacement of domain names, often we do a local site, and then uploaded to space, which involves the replacement of domain names and database migration.
Phpcms V9 Web site migration specific methods are as follows:
- Upload all the program files (if the host support compression package online decompression, such as the Chinese name Network space on the support.) , then make a ZIP packet, ftp upload to the corresponding directory, online decompression.
- In the local use of Myphpadmin database management software to export the local database SQL files, and then use EditPlus and other software to bulk change the domain name address, such as the original is the local http://localhost/phpcms, Now the domain name is www.php100.com, then the need to bulk http://localhost/phpcms batch replacement for http://www.php100.com, replace and save.
- In the database management of the server, the modified SQL file is imported through Myphpadmin.
- Modify the first step to extract the database name password in the good/caches/configs/database.php, and modify the/caches/configs/system.php inside all the domain name, the old address to modify the new address.
- Login background, update cache, batch update generate HTML, so transfer success.