How to use Wordfence Security Plugin to remove malware from your WordPress website

Malware can pose a serious threat to your WordPress website, compromise your website’s security, and damage your online reputation. This article provides step-by-step instructions on how to remove malware from your WordPress website using the popular Wordfence security plugin.

Install the Wordfence security plugin

To use Wordfence Security, you first need to install the plugin from the WordPress plugin repository. Let’s learn how to install Wordfence security plugin your website:

First , Go to your wordpress dashboard and Follow the steps

installation process on wordfence for WordPress malware protection

  1. Go to Plugins
  2. Click on Add New
  3. Search for the “Wordfence security” plugin,
  4. Click on the “Install Now” button and install it.

The installation process takes some time so wait a few moments. After that click to activate the plugin. Now the installation process is complete. You can see the plugin below

successful install wordfence for WordPress malware removal and protection

But your security plugin doesn’t work because every security plugin needs a license key so get your license from their official website.

get your license for wordpress malware protection

You can buy a premium version for your website. But we will use the free version

choose your license plans for WordPress malware protection

After getting your license key, Go to your security plugin Dashboard. Put in your Email id and License key, and click the install license button

input your license and email to activate the security plugin for WordPress malware protection

Now, your security plugin is fully activated

Configure the Wordfence security

Your plugin is fully activated but still not working yet because it needs to be configured before it works properly on the website. Also for it to work properly its firewall needs to be set up first usually your firewall is in learning mode we need to take it out of learning mode and put it in protecting mode then it will start working properly we will learn how to bring it from learning mode to protecting mode:
First go to your Wordfence dashboard and click on the firewall > all firewall option

configure the firewall on Wordfence for WordPress malware protection

Then you can see the “Web Application Firewall Status” option and learn mode is set there. You go there set protection mode and save it.

save configuration on Wordfence for WordPress malware protection

Now your firewall is set up and WordPress is starting to work with its proper capabilities

Scan websites for malware

After installing the Wordfence Security plugin, Now you can scan your website to find out if there is any virus on your website and remove it easily. Let’s learn how to scan websites:

First go to your Wordfence dashboard and click on the scan > start new scan

find the scan option on wordfence for WordPress malware detection

The scanning process takes some time so wait a few moments. After that you can see the result

Scan result wordfence for WordPress malware detection

Our website has no virus so it looks clean if there was any virus it would show below. Now we will see how to show if there is a virus on our website.

virus detected on Wordfence for WordPress malware protection

Remove malware

If Wordfence Security detects malware on your website, we will show you how to remove it. You can remove the malware by following these steps or by contacting your web host for assistance.
After catching the virus, click on the virus and see the location of the virus

find the virus location for WordPress malware protection

Next you need to enter your hosting panel and go to file manager.

enter the file manager to find the virus location for WordPress malware protection

By entering the file manager you will find the location of the malware. We found the location of our malware inside the wp-content of htdocs

detect the virus from the file manager for WordPress malware protection

This is the virus, now it’s time to delete it, now if you click the right button on the virus, you will see the delete option.

delete the virus from the file manager for WordPress malware protection

If you confirm the delete option, your virus will be deleted completely

confirm to delete of the virus from the file manager for WordPress malware protection

In this way the website can be kept completely virus free by locating and deleting the virus in a very short time

Warning: Simple viruses that can be solved by deleting Follow this process for these viruses but if you find any virus modifying your main WordPress file or your theme file or any plugin file then get help for it from a professional before deleting it.

Keep your website up to date

After removing the malware, it’s important to keep your website up to date. This includes updates to WordPress software, plugins, and themes. Keeping your website up to date can help prevent future malware infections.

In summary, removing malware from your WordPress website is an important step in protecting your online reputation and keeping your website safe. By using the Wordfence Security plugin, you can quickly and easily remove malware from your website and take precautions to protect your website from future malware threats.

WhatsApp Logo Chat with Us