What to do if your WordPress site is hacked

Why is my site hacked?

Why is my site hacked? What should I do now?

A web site is usually hacked because the product is outdated, an unofficial plugin has been used or a password is too easy.

There is no way to avoid risk but we can limit it.

There are some practical steps you can take to troubleshoot as soon as it happens, or to prevent it from happening (for example by updating your WordPress version, theme and plug-in ...).

This guide will detail the steps that will be taken to restore your website.

Scan your local computer

Before you start restoring your site, you must ensure that your computer is not the origin of the attack.

Check your local computer for viruses and / or infections with malware. It's a good idea to use more than one (local and online). This advice is for Windows, Mac and Linux.

If your computer still does not have anti-virus, you can try 30 days free anti-virus here: https://www.trendmicro.com/en_us/forHome/products.html

Recover your backup

WordPress consists of files and databases. You can restore your files at an earlier date. NetKL gives you 1 days history of files and databases in your web space. Recovery does not set security vulnerabilities, you simply replace all files infected with files from unimproved backup. If your site has been damaged for more than 1 days, it may be helpful to backup files from backup. Please contact us immediately for the purpose of recovering file backups.

What should I do once I've recovered my backup?

To close a known security hole, you must update all applications, plugins, extensions and themes.

You must also uninstall any plugins you do not need.

Useful information

We recommend that you only use WordPress official plugin. Non-official plugins may not necessarily be retained by software publishers. They may also contain malicious code.

  • 2117 Users Found This Useful
Was this answer helpful?

Related Articles

What is the path to sendmail?

Generally, it will be at /usr/sbin/sendmail however if this does not work for you, please open a...

php_flag and php_value errors, and how to fix it.

Problem:You are seeing Internal Server Errors in your browser when you view your web site.You...

What is the path to public_html?

The full system path to public_html is:/home/username/public_html'username' is your cPanel username

What are your DNS Nameserver details?

Please refer to your Welcome email that contains your username and password that you received...

How to redirect HTTP to HTTPS using htaccess

The below code when added to an .htaccess file will automatically redirect any traffic destined...