Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I copied the htdocs via FTP from the server which hosts my wordpress blog. Moreover, I used phpMyAdmin to export the MySQL database.

When I move to a new server, can I just create a database, run the SQL script and copy the backed up data to the new server's htdocs to rebuild the blog exactly as it was?

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

In general - Yes.

Make sure that the file and directory permissions are appropriate. In case the URL of your website changes, you would have to do a find/replace. Read more about it in the links below. Also, 'update permalinks' once you have access to the Dashboard.

References:

share|improve this answer
    
The domain name will be transferred while the ip address will change, but that shouldn't be an issue I think. Okay, makes sense to update permalinks so that proper .htaccess files are created. –  danijar Aug 16 '13 at 12:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.