This article describes the Imperial CMS website transfer method with examples. Share it with everyone for your reference. The specific method is as follows:
Empire CMS is an open source CMS with a very high popularity rate today. Friends often ask me how to move a completed website to another server, including local debugging and moving it to another server. On the server, I took the time to write a small tutorial. It is actually quite simple. There are many methods. Today I will take the simplest one.
The first step: In the background of the website that can be opened normally, first back up the database, select all, and then "back up the database";
The second step: Back up the entire root directory Make a compressed package of all files, then upload it to the new space root directory and decompress it;
Step 3: Use FTP or other methods to copy the "e/install/install.off" file in the root directory Delete (reinstall only after deletion);
Recommended to study "Empire cms Tutorial"
Step 4: Open the new file through a temporary path or an already resolved domain name /e/install/ directory under the space, such as "http:/e/install/", you will enter the reinstallation process of Empire CMS;
Step 5: Follow the system prompts and install step by step Go on, especially in the fourth step, you need to pay attention to the following: "Database Username", "Database Password", and "Database Name" must be filled in correctly. Your newly purchased MY SQL database must have these information.
Step 6: After the installation is complete, log in to the website backend with the backend user name and password you set, and restore the original backup database by restoring the database;
Step 7: Restoration completed Finally, click "Clear All Cache". This step is not necessary, but in order to prevent subsequent login errors, it is necessary to do it;
Step 8: Exit the background, refresh the background address, and use the original background user You can log in successfully with your name and password. Refresh the data and the website will be moved.
Because all the templates of Empire CMS are written in the database, which is very different from DEDECMS, so there is no template file copy involved. You only need to back up the database first, and then use the Empire CMS itself. Install the reinstallation function once, and then restore the database to successfully transfer the website. If you find it slow to restore the database, you can also use PHPMYADMIN of the two databases to export the database first and then import the new database. The methods are different but the principle is the same.
I hope this article will be helpful to everyone’s Imperial CMS website building.
The above is the detailed content of Detailed explanation of the simplest Imperial CMS website transfer method that you must know. For more information, please follow other related articles on the PHP Chinese website!