Link to home
Start Free TrialLog in
Avatar of Richard Korts
Richard KortsFlag for United States of America

asked on

Moving WordPress Site

I am trying to move a WordPress site from one url to another.

I have copied all the content & copied it to the new site.

I have uploaded the database content (with the new database name). I have followed the directions at http://www.mydigitallife.info/how-to-move-wordpress-blog-to-new-domain-or-location/

I have edited wp-config to reference the new database parameters.

it gives me the attached html for the main page.

Is there any way to do this that's NOT a nightmare?
<table width="600" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><img src="http://www.villageairportvan.com/images/vavsiteholder.png"></td>
  </tr>
</table>

Open in new window

Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

I'm getting a "Firefox can't find the server at www.villageairportvan.com" error.  Is hosting set up correctly?
there is no easy tool available
ASKER CERTIFIED SOLUTION
Avatar of Jason C. Levine
Jason C. Levine
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Richard Korts

ASKER

jason1178:

OK, I'll try that. How do I "transfer" the Theme?

If I reinstall WordPress, doesn't it create it's database in the process?

FYI, the reason I'm forced to transfer it now is just what you discovered, it's a long story but the host is down.

Thanks,

Richard
>> OK, I'll try that. How do I "transfer" the Theme?

The theme is one of the few things that can just be downloaded (wp-contents/themes/yourthemefolder) and reuploaded to the same location on the new site.

>> If I reinstall WordPress, doesn't it create it's database in the process?

Yes, which is why I recommend an clean install and then import the contents of the old install in whatever manner suits.  The idea is to do the data import next to last to make sure the site is structurally sound.  If you copy all files from old to new and then bring in the database, it SHOULD work but I experience more problems that way than if I do it the slightly longer way of installing and letting WordPress do its own setup.  Then, bringing in the content and setting and users from the old site is simpler...you can overwrite the fresh tables with the old one or import from dump files or whatever you prefer to do.  Changing the URLs with a search and replace can be accomplished via plugin: http://wordpress.org/extend/plugins/search-and-replace/

>> it's a long story but the host is down.

Heh.  Been there, done that, have the ulcer to prove it.

>> there is no easy tool available

That's actually not entirely true.  There are no easy, free tools available but there are tools to do it.  VaultPress is like Carbonite for your WordPress site and it can restore to a new host if you need that.  Pricey, though.
To jason1178:

I have NO IDEA what the theme is or how to figure it out.

I didn't build this site, I've reached the point of realizing I NEVER want to build a WordPress site. It's a HORRIBLE mess.
Heh.  It's considered easier than Joomla and Drupal and with good reason.  To be fair, it's really not that complicated to deal with until you get into customizing beyond theme and 3rd party plugins.  At that point, it's a bit more challenging.

>> I have NO IDEA what the theme is or how to figure it out.

If you don't know what the active theme is, grab all of wp-content/themes and move it to the new site.

When the database is transferred in, the active theme setting will come with it. It's in the wp-options table with the option_name of "template" and it corresponds to a folder name under wp-content/themes
>> I have NO IDEA what the theme is or how to figure it out.

If you can still access the old site's dashboard (sounds like no), under Appearance | Theme it just tells you which one is active.
jason1178:

OK, I got the theme.

I know there was one plugin. I have ALL the previous site content on my machine, how do I figure out what the plugin is / was?
wp-contents/plugins
To jason1178:

OK, I found that plugin. Can I just copy the folder wp-content/plugins over or do I have to reinstall it from scratch?
You can copy it, but I always prefer to reinstall a fresh copy just in case the plugin changes things elsewhere.  I get paranoid (without good reason - fully admit to that) that a simple copy of the plugin folder will not fully trigger any "on install" scripting.  In practice, copying the plugin then activating it from the Dashboard should work properly 99.999% of the time.
I got it to display in WirdPress with the right "theme".

But all the content from the previous site is gone, the main page form, etc., are not there.

So I'm going to have to "up-WordPress" it & make it a regular site.

Seems a shame to waste most of a day & get nothing.

FYI, it did failed on SQL in loading the "main" tables from the old site, that's probably at least part of the problem.

But I just can't afford to waste any more time. It's still a job to make it work like a "normal" site.

Thanks for your help. (again)
>> FYI, it did failed on SQL in loading the "main" tables from the old site, that's probably at least part of the problem.

More than part...it's all of the problem.