Talking about how to move to DEDECMS website

Source: Internet
Author: User
Keywords Move

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

A few days ago, a website record number was written off, domestic mainframe space business closed My site, the record must be a period of time, for such a collection and rankings are normal sites, no doubt the blow is very large, weighing, I only move the site to a place that does not need to record.

Bought a Hong Kong space, this is very easy to do, the next is how to move the site and the maximum does not affect the search engine collection and rankings. This requires that after the site and the original site exactly the same, including the directory structure of the site and the naming of Web pages file rules, and so on, if these changes slightly, will bring a fatal blow to the site, consider repeatedly, I decided to adopt the most stupid way to deal with.

The first step: the whole station file package download. Because my space backstage has "online backup pack/Online decompression" function, so I first of all the files of the site packaging, because the site has been operating for a period of time, so the compression package will be relatively large, so I chose the "sub-volume packaging (50M per package) option", so that the site's compressed data is easy to download and upload.

Step two: Back up the database. For a website, the database is the most important thing, the content of the website, the website registered user data are the most valuable resources, so in this dishonesty the slightest careless. Go to the Database Control Panel and select the Backup/restore/Import database option. Open the operator panel as shown, and then click "Make Backup" so that a database backup file named "1.sql" is established. Then click "Build Backup FTP" and use this temporary FTP account to download the backup database files to the local.

The third step: The download of a good website compression package uploaded to the new space, and decompression. This step, and the usual upload site source code, no longer redundant language.

Every four steps: Open the new Database panel, the second step of the method to do a backup of the empty database, its filename is also "1.sql", because the database is empty, so this file will be very small, the purpose is to use the original site data database cover it, and then set up a temporary FTP account, Use the FTP software to upload the backup database to cover, because the original site database backup file is relatively large, so be patient. Next, start by clicking "Restore from Backup" (pictured above), which imports the database file we just uploaded into the new database, which could take about 1 minutes.

Fifth step: Modify the database connection file. Dedecms database Connection file is/data/common.inc.php, this file is a plain text format, so we directly use the word to open the change on it. Modify the following:

$cfg _dbhost = ' database host address ';

$cfg _dbname = ' database name ';

$cfg _dbuser = ' database username ';

$cfg _dbpwd = ' database password ';

These parameters can be found in the new database panel, in order not to make mistakes, we recommend "copy"-"Paste", be sure to be careful not to appear extra space. So far, the site outdoor mountaineering bag http://www.nv-bao.com moved to complete, because this way is equivalent to the original site to do a clone, so everything and the original site, so that both completed the move task, and will not have a big impact on SEO.

Related Article

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.