• Resolved Fgarcia1986

    (@fgarcia1986)


    i was recently hacked and my website was filled with malicious code.

    i went in to each file that had malicious code to see if the file was entirely malicious or if just segments.

    i deleted the files that were completely malicious, and i deleted the code from the files such as functions.php

    as my site came back online it appears to be completely blank. i have not backed up any sites so is there any way to go back in time via wordpress to re-upload prior to the infection?

Viewing 2 replies - 1 through 2 (of 2 total)
  • If you made functions.php produce an error (which could easily happen if you accidentally deleted a brace, semi-colon, or any number of things when you were deleting bad code) then that will completely break the site.

    Try going into your ftp and removing everything from your functions.php file, and see if it works then.

    Thread Starter Fgarcia1986

    (@fgarcia1986)

    thank you so much i had accidently deleted the <?php at the beginning of the functions.php file and once i added it, presto.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘was recently hacked and i inadvertently ruined my website’ is closed to new replies.