I have a site using wordpress, it was hacked due to a free template I downloaded online (i believe the hacker insert some files into the template). The site title is changed to buy viagra online, etc. Now I removed that template, and want to re-install the wordpress (perhaps change to another serve). Is there any secure way to backup all the posts? Thanks very much for your help in advance, it is urgent for me.
You can just backup the database and then reinstall and load the old database. If you think the hacker placed stuff into the database you can run scans and remove it all. We do that for clients when we move their sites over to our places making sure there are no backdoors or anything anywhere.
Like the previous person stated. 1. Reinstall the software in a new database 2. Don’t install the template 3. Export the SQL database and import it into the new one. You will need to go into PHPMYADMIN for this.