WebFaction
Community site: login faq
0
1

I need to transfer my existing wordpress blog from another hosting to webfaction. What is the best way to do this?

What I would like to do is:

  1. create the sql dump of my original WP database
  2. download the whole /httpdocs path of my original WP site
  3. recreate a new webfaction WP app
  4. import the SQL dump into the new database created by webfaction
  5. replace the WP app root with the same data downloaded in [2]

My main concern is about the correctness of [5]. Probably I should not change the "core php" but simply copy the WP site data in another place and then use variables like

WP_CONTENT_DIR
to point this data? but sincerely I don't know what is the data to be copied. I don't ask for a complete how-to answer, but just an evaluation about the correctness of my flow and eventually some good documentation that explains this kind of operations (I'm not a wordpress expert).

Thank you.

Carlo

asked 01 Mar '12, 15:10

viggio24
734
accept rate: 0%


That's pretty close, but instead of creating a new WebFaction WordPress app, create a Static/CGI/PHP app. That will give you a directory in ~/webapps with an index.html file in it (delete this file). For your step 5, copy your WP content into that directory (it will have the same name as the Static/CGI/PHP app created in step 2).

You'll also need to edit the wp-config.php file to use the new database name, database username, and database password.

I hope this helps!

permanent link

answered 01 Mar '12, 16:26

maryh
1.3k7
accept rate: 35%

Thanks a lot. I implemented your suggestion and all worked perfectly.

(02 Mar '12, 04:22) viggio24
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×245
×14

question asked: 01 Mar '12, 15:10

question was seen: 3,001 times

last updated: 02 Mar '12, 04:22

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM