WordPress Blog Moving Steps (to resolve the problem after the move can not be accessed)

Source: Internet
Author: User
Tags cos create index wordpress blog wordpress migration

WordPress Migration steps:
1. Upload new WordPress compression package and decompression, preferably with the same version of the original site WordPress installation package
wordpress-3.2.1 Download

2. Recover. htaccess files

3. Restoring the Database
When exporting: Compress select gzip, file character set to gb2312
When importing: File character set is Utf-8

4. If the domain name changes, update the domain name in the database

The code is as follows Copy Code

Update wp_posts Set GUID = Replace (GUID, ' http://old.domain.com ', ' http://new.domain.com ');
Update wp_posts Set pinged = replace (pinged, ' http://old.domain.com ', ' http://new.domain.com ');

Update wp_posts Set post_content = replace (post_content,

' http://old.domain.com ', ' http://http://new.domain.com ');
Update wp_options Set option_value = replace (Option_value,

' http://old.domain.com ', ' http://new.domain.com ');

5. Restore uploads, plugins, themes folders in Wp-content

• If fitted with timthumb.php
Need to modify Cahce,temp folder permissions
• If fitted with Cos-html-cache
Create an HTML folder under the root directory and modify permissions
Create Index.bak in the root directory and modify permissions
To see if $path need to be modified in cos-html-cache.php, reference COS-HTML-CAHCE cannot generate static files

6. Restoration of wp-config.php

7. Deactivate and enable Cos-html-cache plugin

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.