Removing Malicious Code


My site has been hacked and I have malicious code at the top of the html code for front part of the website and the admin panel.

I've identified the code and been told that it literally just needs deleting with a text editor.

I am a complete beginner when it comes to all things html and I've no idea where to start.

I can see the code in the page source but no idea how to get in and delete it.

If some one could help I would be really grateful


Using FTP open your website and open each file.

Remove the code and save. If your website has been hacked you webhost should be able to fix this for you manually OR provide a backup that can be used in place

And then, you better make it your number one priority to determine how your site managed to get hacked in the first place and fix the problem.