Phpcms V9 site from local to server needs to be modified

Source: Internet
Author: User

The website will be migrated to the server when it is done locally, and the website is likely to modify the domain name many times during the development process. So how are we going to set it up in Phpcms V9?
Please modify the following steps: Phpcms V9 website upload to the server the following methods:

1. Modify the/caches/configs/system.php inside all and the domain name, the former old domain name is modified as a new domain name can be.
2. Background Settings-"Site management to modify the domain name of the corresponding site."
3. Update the system cache. Click the "Update Cache" button in the upper-right corner of the background.
4. Enter the content-"attachment management-" attachment address replacement. Replace the attachment address in bulk with the new address.
5. Content-"Bulk update URL". Update the address of all the articles.
6. The following is the generation of the whole station.

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.
And this situation than the replacement domain name is also reliable, often we do a local site, and then uploaded to space, which involves the replacement of domain names and database migration.

Phpcms V9 Site Migration methods are as follows:

1Upload all the program files (if the host supports compression package on-line decompression, such as the Chinese name Network space support. , then the zip package, ftp upload to the corresponding directory, online decompression).
2The local database SQL file is exported locally using database management software such as Myphpadmin, and then the domain name address is changed in bulk using software such as editplus, such as HTTP that was originally local://Localhost/phpcms, now the domain name is www.jb51.net, then you need to bulk http://localhost/phpcms Bulk Replacement for http://www.jb51.net, save after replacing.
3In the database management of the server, the modified SQL file is imported through Myphpadmin.
4. Modify the database name password in the/caches/configs/database.php in the first step, and modify all the/caches/configs/system.php in the domain, change the old address to the new address.
5. Log in to the background, update the cache, batch update generates HTML, so the transfer succeeds.

Phpcms V9 site from local to server needs to be modified

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.