If your website was hacked, it means someone gained access to your website's files and did something nefarious, like inserting malicious code (known as "malware") into them.
You can fix the issues in many ways, but we're going to cover the most basic.
If your Website was hacked, immediately change all of your passwords. To ensure your Website doesn't get hacked again, you should use a strong password.
To make sure you use the right instructions, find out what type of hosting account you have.
Hosting type | Password resets |
---|---|
cPanel | Primary FTP, secondary FTP, databases, apps like WordPress |
Plesk | Primary FTP, secondary FTP, databases, apps like WordPress |
Web & Classic | Primary FTP, secondary FTP, MySQL databases, MS SQL databases, apps like WordPress |
One of the easiest ways to resolve the issue is to restore your Website to a previous version using a backup.
If you have a backup, use one of these articles:
Unless the hack was a simple defacement, it's almost impossible to remove all traces of a hack by hand. To ensure everything is cleaned, we recommend using an application like SiteLock Professional. Using its SMART scan technology, it will not only find any compromises in your files, it also removes them.
To stop further hacks in the future, you should figure out if your Website was hacked because of a weak password or a structural issue.
Most hacks happen because an attacker guessed your account's password. Changing your password (and using a stronger one this time), you can usually protect you from these attacks in the future.
Structural issues mean that the way your Website is constructed leaves it vulnerable to hacks. These are hard to identify for anyone but seasoned web developers. However, there are ,any pieces of security software can help analyze your Website for structural issues. Again, we recommend SiteLock Professional. It can identify many different structural issues, as well as help you fix them.