In my earlier blog post , I did share about my experience about migrating my blog from a Shared Hosting to a VPS . However one thing that did trouble me is of course to migrate my entire WordPress installation.
No doubt there are actually some easy way out for us to do , including plug-ins and a lot of guides out there. I realised that migrating the whole WordPress along with its settings may not be the right thing to do in my case as I want to start fresh – but then I want to retain the whole content + structure.
Second reason being is that I realized my earlier WordPress installation was hacked and the hacked manager to put a script that pretty much sends out spam to the outside world (that made sense on why my blog was penalised for a very long time).
Keep in mind that this does not back up your plugins and other configuration. It just moves your content. I had to set up the rest basically
The way how I did it was into two steps :-
- Migrate the content out (using built-in tool)- You can read more about how to do it here
- Copying the upload folder – this is inside wp-content folder and it contains all of it. Personally , you may want to use a File Manager to easily import and export it.
Overall , it took me about 2-3 hours to restore my WordPress installation. Clearly I did not lose any content but I need to check my older posts if something is not showing up properly such as embedded YouTube video.