Jul 22, 2017

Some notes on migrating WordPress from IIS 8 to an Apache host

Photo by Pelly Benassi on Unsplash

I had been self hosting my blog since inception, and it is just time to give it a little more breathing room. After wrestling with a WebsitePanel install that has been upgraded to the new MSPControl panel, let’s just say things aren’t going as well as I planned, and it’s time to just move on.

To get the site moved I used a plugin called All-in-One WP Migration. It allows for you to export from the original site into a slurry of formats, including File (WPRESS file), Dropbox, FTP, Google Drive, Onedrive, Amazon, and Box.

For the sake of simplicity I decided to use File. There are some additional options under Advanced that disable some features from being exported, otherwise it is a complete backup. The backup file is about 66 for my fairly fresh site. I was suprised the file was not compressed, but I guess that may be too much for PHP? (I don’t know PHP)  The first portion of the file starts with package.json, then is a complete dump of the structure, I was happy to see the password was protected in the file.

When I finished installing LAMPS on my new host,  with a freshly configured WordPress install, I added the Migration plugin and started the import. Everything came up, I made the final adjustments in CloudFlare, then gave it a few minutes before flushing my local DNS. All pages in the admin looked good, so I went to the main page and bam.

*sigh*

All of the posts I found were super helpful.  They all said, unzip your theme folder and it works!  🤔 Search after search, dead end.  Next step, (💡) take the folder from the original server and copy it over.  Seems like a good idea to me.  So I dumped the theme folder through ftp, did some juggling to get to the theme folder from the original server, and pushed it to the new server.  I was excited this time.

😤😤😤

Ok, now what the hell.  I start looking a bit closer, and notice in my theme folder, 2 files had the first letter capitalized.  Strange, but whatever, let’s see what happens…

   

You have got to be kidding me.  Welcome to Linux.  Let’s just say we’re breaking through some comfort zones a bit here.

Next up excitement with CloudFlare and setting up a LetsEncrypt SSL.  Maybe.