Illustrated five Move WordPress

Source: Internet
Author: User

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

Domestic Internet environment not how to drop, do a blog is also dangerous, so today we introduce you how to move WordPress to go abroad ...

1. Package website FTP

The author is using VPS, so basically use the Linux shh command

Tar cf Xxx.tar XXX/* Package tool directory as Toole.tar file * *

The General host Control Panel has a RAR packaging function, so package the entire WWW or wwwroot root directory can be.

2. Backup database, export MySQL

This SQL database we can use WP plug-in wp-dbmanager.

After installing the Wp-dbmanager, click on the WordPress Control Panel.

  

Then click Backup

  

In general, if your database is not as far as possible do not use gzip compression, so as to avoid data loss.

Okay, here's the database backup complete, and then we have to go to wp-content/backup-db here to find the backup database SQL file to download with FTP.

  

Choose your latest backup of the standard download, the author here The latest backup of 11-29, so download this.

Resolve the old domain name or new domain name to the new FTP address.

This step is necessary, the general 1 hours to parse completed, do not ask me how to resolve, their Baidu to go.

3. Upload FTP Package file

The author is using a VPS, so directly on the VPS download packaged files Xxx.rar to a Linux shh command reference.

wget http://xxx.net/xxx.tar.gz

Then unpack the package.

Tar xvf xxx.tar GZ

When you are done, you can bind the directory to the domain name, and this step is done.

Complete this step we can access the static cache file, but not login. So you want to import the SQL data into the phpMyAdmin, and then wp-config.php the configuration file.

4.Phpmyadmin Import SQL database.

New

  

Click on your new

  

Then select Import

  

Then you can import the Xxx.sql database. Do not select any other items.

5. Then modify the wp-config.php

/** WordPress database name, replace "putyourdbnamehere" * *

Define (' Wp_cache ', true); Added by Wp-cache Manager

Define (' db_name ', ' Your database name ');

/** MySQL database username, replace "usernamehere" * *

Define (' Db_user ', ' database username ');

/** MySQL database password, replace "yourpasswordhere" * *

Define (' Db_password ', ' Database login password ');

/** MySQL Host name * *

Define (' Db_host ', ' L database address ');

Save upload to FTP and overwrite

So far, the move is complete. Everything works well. Steps can be replaced. Specifically according to your thinking logic. Moving is quite simple, this is a non-destructive move, all the data exist ... Very good.

Chongqing East June Oil Filter original article, this article Admin5 starting, reproduced please specify the source: http://www.cqdongjun.com

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.