[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 247
  • Last Modified:

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

0
Richard Korts
Asked:
Richard Korts
  • 9
  • 5
1 Solution
 
Jason C. LevineNo oneCommented:
I'm getting a "Firefox can't find the server at www.villageairportvan.com" error.  Is hosting set up correctly?
0
 
Jini Jose.Net Team LeadCommented:
there is no easy tool available
0
 
Jason C. LevineNo oneCommented:
>> Is there any way to do this that's NOT a nightmare?

Yes.  I do this constantly (testing to development).  The basic steps are:

1) Install fresh copy of WordPress (don't copy from old to new).  If custom modifications made to core files, copy those over into the fresh install.

2) Transfer or reinstall theme.

3) Reinstall plugins.

4) Transfer database from old to new

5) Find and replace on URLs in database tables
0
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 
Richard KortsAuthor Commented:
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
0
 
Jason C. LevineNo oneCommented:
>> 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.

0
 
Jason C. LevineNo oneCommented:
>> 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.
0
 
Richard KortsAuthor Commented:
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.
0
 
Jason C. LevineNo oneCommented:
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
0
 
Jason C. LevineNo oneCommented:
>> 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.
0
 
Richard KortsAuthor Commented:
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?
0
 
Jason C. LevineNo oneCommented:
wp-contents/plugins
0
 
Richard KortsAuthor Commented:
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?
0
 
Jason C. LevineNo oneCommented:
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.
0
 
Richard KortsAuthor Commented:
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)
0
 
Jason C. LevineNo oneCommented:
>> 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.  
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 9
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now