Some months back now, I said I was going to move My Local Business Online from Hostgator to my reseller host at WebHosting Buzz.
Oh how I tried to move my WordPress website…
and tried
and tried again!
It should be simple. It is USUALLY simple.
Finally, I hope I’ve succeeded in moving this blog!
Contents
Murphy’s 1st Law
If it can go wrong, it will (Tweet This)
I recommend a nifty backup plugin – The Backup Creator. It’s a plugin I have used many, many times to back up, restore or move sites. It’s very simple and you don’t need to worry about sql databases and everything gets restored as it was.
Until the My Local Business Online move.
I did what I have done many times before:
- I backed up my site
- whizzed over to my reseller hosting and created a new database
- uploaded the wordpress files and changed the wp-config and .htaccess
- uploaded the backup creator backup
- changed the nameservers
- waited for it to propagate then finished the WordPress install
- installed the Backup Creator installer plugin
- clicked restore…
and NOTHING
Timed out.
Jan’s Law Of WordPress Restoration
No matter how many backups you think you have, you’ll chose the one that doesn’t work (Tweet This)
It won’t be the first time a backup has been corrupt. I thought at first perhaps my backup was a dud. Not a problem, I have more backups!
I uploaded the previous backup and…
NOTHING
Timed out
Twice
I tried different plugins, I tried the WordPress import function.
I managed to kill what bit of WordPress I had already installed.
Muttering and gnashing of teeth, I changed the nameservers back to point at Hostgator while I put in support tickets.
Jan’s Law of Technical Support
The more urgent your support ticket, the longer it takes to get a reply (Tweet This)
OK, they weren’t THAT bad. I contacted WHB on their live chat, but the guy on the other end wasn’t familiar with the plugin and raised a support ticket.
In the meantime, I put in a ticket to the guys at Backup Creator, and got a response in just over 24 hours – not great, but not bad. I live on the web – I want an answer NOW!
So, apparently either my site was too big or I needed to extend the PHP execution time.
Well that made sense with the time out message on several plugins and the “too big” message in the WP import function. MLBO is 3 years old, I’ve blogged quite a bit in that time, not to mention all the “stuff” I’ve collected, uploaded, tested and the download folder… it’s pretty big!
I went back to WHB and asked if they could increase the PHP execution time. Apparently, I can do that in cPanel, so I set it to max allowed.
I should also mention that WHB also offered to move the site for me. However, in the future if everything crashes and burns, I want to be able to restore it myself rather than wait on support.
I paid my Hostgator bill and hoped things would settle down – this moving stuff was far too much messing about!
Murphy’s 2nd Law
Left to themselves, things tend to go from bad to worse (Tweet This)
So, MLBO got slower, and slower.
- I already run through Cloudflare so also installed a caching plugin
- I re-installed smush it and smushed my images
- I enabled browser caching, as that isn’t covered with wp-super cache
- I deleted plugins and themes I wasn’t using just in case…
There was no detectable improvement.
Then, for some reason known only to itself, MLBO went down every morning between 6.30am and 7am for 2-5 mins.
Every day!
It was time to bite the bullet and move…
Jan’s 2nd Law Of WordPress Restoration
If something works on a test site, it doesn’t mean it will work “live” (Tweet This)
I learnt my lesson from the first attempts and prepared to move to a test site I have hosted over at WHB. Off I went digging in cPanel and increased my PHP execution time. I installed WordPress, uploaded a new backup and the Backup Creator installer plugin.
With baited breath I hit the restore link…
It’s a good job the plugin doesn’t wait too long to give the time out message or I would be dead! Again, I had the same issue with other plugins so reverted back to good old manual transfer.
Tada!
It worked!
Oh happy days!
Off I went to repeat the procedure for MLBO.
I changed the nameserver settings and sat and waited. When it landed, I completed the install, imported the database and uploaded the files.
So far so good!
Murphy’s 8th Law
If everything seems to be going well, you have obviously overlooked something (Tweet This)
Then I tested my email.
Do I need to say at this point that my email would neither send nor receive? Back on to WHB support…
I explained everything that had gone on. I explained I run through Cloudflare via their site not the nifty button available in cPanel. Back and too to technical bods – did I want to raise a support ticket?
No, no no – I want to talk with someone who can help me now!
It would appear my Cloudflare settings were wrong. I asked what they should be – and double checked everything.
I was seeing the right email settings.
WHB wasn’t seeing the same thing at their end.
It was obvious this was not going to be solved any time soon. So, nameservers pointed back at Hostgator and another month paid.
Murphy’s 4th Law
Everything takes longer than you think (Tweet This)
So Boxing Day arrived, my payment was over-due to Hostgator and they’re about to cut me off. I really did not want to keep paying for something I am not happy with. I walked the Muppet dog and allowed the wind to blow off the cobwebs off my brain while I ponder how I am going to move my WordPress site.
A plan of action formed…
- change the nameservers at the registrar
- disable Cloudflare
- import the database via PHPmyAdmin
- upload all the files
So I sat down with my bottle of Baileys and made a start. Do note that drinking Baileys and moving websites should be mutually exclusive activities…
The plan worked after a fashion. I lost my plugin settings somewhere and the little scrolly blue thing at the top of the Generate Theme box has disappeared so I’ll have to track it down.
But all the important stuff was where it needed to be AND email worked. I could tweak and get things how I wanted later!
Murphy’s 7th Law
If you perceive that there are four possible ways in which a procedure can go wrong, and circumvent these, then a fifth way, unprepared for, will promptly develop
MLBO has run through Cloudflare for some time now and I didn’t want to lose that protection. cPanel has a nifty button where you can connect to Cloudflare simply. Since I had disabled Cloudflare to move the site and everything was now operational apart from a few boozy mistakes (it’s Christmas apparently after all!) I thought I’d click the button…
There I was, tweaking and putting settings back how I wanted them. The site was loading much faster and things that had previously died on the old site (like the sharing side bar) now magically came back to life.
All of a sudden – Error 1001 DNS error…
Not again, why is nothing simple?
I put it down to Cloudflare kicking in. Sometimes you do get a few minutes of error while things propagate.
An hour later, I’m seeing the same error. Back to WHB support chat…
The poor guy had a crazy woman muttering away at him. He was on and off to technical bods. Then a light-bulb moment when he said the nameservers are associated with WHB but are the wrong ones.
It did indeed turn out I had used the wrong nameserver settings. I don’t pull these things out of thin air – I got them from my reseller web-hosting manager dashboard.
I’ve been with WHB for over 2 years, they had recently changed servers and twiddled with settings…
What a relief!
Back to changing the nameservers at the registrar.
Some hours later I was still getting a DNS error, so disabled I Cloudflare again. I’m going to give things a day or so to settle down before resetting Cloudflare. I think I’ve come through the worst! Back to tweaking the bits I need to tweak now.
Keep Your House Clean…
All this messing has forced me to clean up the back-end of MLBO – it was a much overdue task! I started with a blog that was getting rather unwieldy at 4.9MB. I reduced it to 2.8MB with the Generate Theme still on. However, 2.8MB is still pretty big and I managed to loose some bits of the theme when transfering. I switched to the basic Genesis Theme while I sort things out and decide what I am doing (the site is now 1.5MB). I may go for a new look in the New Year anyway.
I still recommend The Backup Creator for smaller sites. It has saved me so much time and messing in the past and no doubt will again in the future. I even managed to move the new slimline MLBO to a test site using it – that’s a lesson to have regular clean-ups if ever there was one!
Murphy’s Laws
- Anything that can go wrong will go wrong
- Left to themselves, things tend to go from bad to worse
- Nothing is as easy as it looks
- Everything takes longer than you think
- If there is a possibility of several things going wrong, the one that will cause the most damage will be the one to go wrong
- If anything simply cannot go wrong, it will anyway
- If you perceive that there are four possible ways in which a procedure can go wrong, and circumvent these, then a fifth way, unprepared for, will promptly develop
- If everything seems to be going well, you have obviously overlooked something
- Whenever you set out to do something, something else must be done first
- Every solution breeds new problems.
Over to you…
Have any of Murphy’s Laws haunted your business? Share the pain in comments!
Murphy's Laws of Moving my WordPress Site by Jan Kearney
Bonnie Gean says
I’ve had moments like this and to tell you the truth, it prevents me from moving my bonniegean.com website to a new host, such as A2 hosting. I want to, but scared that I’ll have the same mishaps as you encountered, I am paralyzed.
So sorry to hear you had such a time, but also glad that you finally made the move and kissed Hostgator good bye!
Jan Kearney says
Hi Bonnie – you know, I let the whole prospect of moving stagnate me for months. Despite the challenges over the last few days I really enjoyed it. It forced me to focus, to clean up, do get stuff done – then close my eyes, pray to the gods of the interwebz and see what worked!
Even though I’m still tweeking and messing at the backend – I’m actually damned proud of myself. I didn’t let my mood during this “festive” season nor a website beat me lol
Have a word with A2, many hosts will move sites for you if you ask. Not everyone is like me wanting to know the how and why (and then over thinking it!) It was important to me because I like to know if the crap hits the fan I can pull it back without relying on or waiting for support – and I can 🙂
Bonnie Gean says
I find myself in the same boat as you once were, Jan. I know the move is necessary, but I let the idea of possible problems prevent me from doing what needs to get done.
The major problem I face is that when I move the main website, all the rest need to go with it because I am working under a reseller account. This means bonniegean.com is the main website, but once it points to a different DNS server – the remaining websites become non-fuctional.
This is not good!
Naturally, this means if I intend to move ONE site all the rest need to move as well. That’s quite a big task for one day of work even if A2 helps me move the one site – the rest are still stagnant until I move them manually.
Ugh!
Jan Kearney says
You know, for the last almost 3 years on hostgator, my “primary domain” wasn’t hosted there. In fact it hasn’t existed at all for 2 years…
But different hosts work differently – just change the primary domain to the last one you plan to move 🙂
Bonnie Gean says
Oh wow! That’s a fantastic idea (and why the heck didn’t I think of that on my own?) ROFL
Thanks Jan!
Jan Kearney says
Sometimes, all it takes is a fresh pair of eyes 🙂 Glad it helped!
Una Doyle says
OMG! What a time Jan… Well done on getting through it and sharing your experience and what you learned. 🙂
Jan Kearney says
Hi Una – these things are sent to try us lol Thanks for popping in 🙂
Galina St George says
Hi Jan,
I am sorry about all the troubles! If it can happen to you, I would be quite helpless. It seems that a lot of technical knowledge is needed to do this kind of move, so if I were to move any of my sites, I would definitely rely on the host’s support to do it for me.
It was good to learn about Murphy’s Laws – it makes me philosophical about things which can possibly go wrong, as much as I fear it, being a non-techie.
Well done for battling through it, and managing to sort it out. Perhaps another tutorial on the way – on how to move a big site to a new host? 😉
Galina
Jan Kearney says
Hi Galina!
That tutorial would be very easy to write…
Step 1. Get someone else to do it
Step 2. Relax
I’m not a very techy person myself. I knew what i needed to do and even the how. I forgot the basic rule in life – KISS. If I had kept things simple in the first place, I wouldn’t have had half the problems or procrastinated quite so much!
Thanks for popping in 🙂
Ginny Carter says
I almost resorted to a stiff drink on your behalf after reading this. Nice to read about other people’s problems for a change!
By the way how did you create those nice Murphy’s Law images – via Logo Creator? I’ve had a few goes with it but find it hard to choose the right starting point.
Here’s to a trouble free New Year.
Jan Kearney says
Hi Ginny – trust me, a drink and moving websites do not mix well! lol
I have no eye for anything remotely arty – but yes the quotes were done in Logo Creator. I need more practice!
Have a fabulous 2014 🙂
Rochelle Gordon says
I am speechless. I am flabbergasted. …. And you actually lived to tell the tale. Bravo for you!
Jan Kearney says
Those deep breathing exercises came in useful Rochelle! Thanks for popping in 🙂
Toni Nelson says
I’ve had several issues with HostGator (like yesterdays outage) and it loading slower than i’d like. At first I thought I’d move my site to Godaddy but then was told that’s not a good idea. Then I thought I’d have the nightmare you had so I haven’t attempted it. So glad you got it worked out:)