Where was it hosted? They are the ones you’d need to contact to get your data.
You can set up a free site using WordPress.COM — though using your own domain name is not free.
Free domain names are probably inherently a bad idea…
http://www.dailyblogtips.com/google-removed-all-co-cc-domains-from-its-index/
Thanks for the answer, WPyogi.
It’s hosted in http://www.000webhost.com. I have just logged in and it seems that I have access to the files, MySQL and everything, although I don’t know what to do next.
Thanks.
Andrew Nevins
(@anevins)
WCLDN 2018 Contributor | Volunteer support
You’ll need to contact your host providers.
I am afraid none of us really responded to a_tifoosi 🙂
He already said he got access to his files and everything, so there’s not much his host providers can do.
This is a WordPress question then: how to recover posts and pages from an offline blog?
I am also interested in getting this solution.
Log into the database with PHPMyAdmin and download a full dump of the database. Also use ftp to copy all of the files.
Then you can do a search & replace on the db backup to replace instances of the old domain with a new one. A tool which takes serialized data into consideration such as http://interconnectit.com/124/search-and-replace-for-wordpress-databases/ is best, but will require more work to setup as needs to be run on a live database, whereas a simple search & replace can be performed in a text editor.
WOW Cube, this is really useful!
Thanks!
I was wondering if such a transplant would work, thanks for confirming!
I assume this will bring in also all the installed plugins, themes etc… not just post and pages.
Is that correct?
If you have all of the files and a current db backup taken at the same time, yes you should be able to use these to restore the whole site to another host by using the serialized search & replace tool (& editing the wp-config.php to reflect the db credentials of the new host). If you preform a simple text search & replace in a text editor you will corrupt any data stored in serialized arrays such as some plugin settings (unless you are replacing with a string with one containing the same number of characters).
I usually use a local copy of the db (on XAMPP) to perform a serialized Search & replace and then create a new live one to import the edited version to, so the existing one is not destroyed until I have a new ‘good’ one.
Thanks a lot, alcares and cubecolour.
I will try what you have explained and will keep you informed.
@a_tifoosi
no prob, glad to have helped.
@cubecolour
I am afraid I have never taken a DB backup but I suppose that with cPanel I can do it anyway.
Unless it must be a backup with the blog still live.