WordPress Instant Support
We can clean up your site infection right away  
LET US FIX IT

👋 Hi... I am Jarrett
I own WP Fix It and I wanted to let you know that we have agents standing by to remove the infection on your website. We can start NOW.
Check it out below.
LEARN MORE

Remove a WordPress Infection

The Fastest Way to Remove a WordPress Infection From Your Site

Let us just start by saying to those reading this, WE ARE SO SORRY if your WordPress site is infected right now with malicious code or malware.

This surely not only may be impacting the visitor experience but also good be hurting your search engine rankings if you have been Blacklisted.

Remove a WordPress Infection

Now before you read on, please note that shortly you will be learning The Fastest Way to Remove a WordPress Infection.  Below are the steps you can take to to get your site clean of all infections and then go back and cleanup the design and functionality.

Remove a WordPress Infection With These Steps

Items you will need to complete this:

  1. FTP credentials – these can usually be obtained from your web host our hosting panel
  2. FTP client – this is the software that will allow you to connect to your website and access all files. Here is a list of the 6 best free FTP clients for WordPress
  3. Patience – depending on how big your site is, it may take awhile to complete the steps below

STEP #1 – CONNECT TO SITE VIA FTP – Remove a WordPress Infection

This is where will will move, delete and reload files into your WordPress installation.  FTP allows us to make seamless file transfers from your hosting server to your computer.


STEP #2 – REFRESH WORDPRESS CORE INSTALL – Remove a WordPress Infection

The core files used to power your WordPress site are often the main location of malicious files.  We want to wipe out all the core files and install fresh copies.  To do this we will make sure we are connected via FTP and inside the root folder of our infected WordPress website and follow the steps below.

  1. Delete folders wp-admin and wp-includes
  2. Delete all files ending in “.php” EXCEPT wp-config.php
  3. Download the most recent version of WordPress at THIS LINK
  4. Unzip your freshly downloaded version of WordPress and delete the folder wp-content from the un-zipped folder
  5. Drop all folders and files into the root folder of our infected WordPress website

STEP #3 – CLEAN OUT PLUGINS – Remove a WordPress Infection

Now this is another area that malicious code likes to live and breathe. 

Follow the steps below to get this area of your WordPress install fresh and clean

  1. Create a folder of your choice somewhere on your computer naming it whatever you like
  2. Using FTP, navigate to your plugins folder via the path wp-content/plugins
  3. Once in there, drag all the folders to the location of the new folder you created in step #1
  4. After all plugin folders have been backed up to your computer, delete them all.  DO NOT delete the main “plugins” folder.  Just the folders within it
  5. You will need to install fresh copies of each plugin either next or once you are all clean

STEP #4 – CLEAN OUT THEMES – Remove a WordPress Infection

Over the years this area of your WordPress install can be really overloaded with unused folders and files.  You only need to hold on to your active theme or active parent and child theme. 

So if you know what those are, delete all the other folders.  Follow the steps below.

  1. Navigate to the theme folder using FTP at the path wp-content/themes and drag the active theme folder(s) to your computer
  2. Delete all folders in the theme folder of your server
  3. Get your hands on a fresh copy of you active theme and drag it into your themes folder using FTP

STEP #5 – CLEAN OTHER FOLDERS – Remove a WordPress Infection

Alright, you have made it through steps 1-4 and now it’s time to login to your site and run a scan for some other areas of your WordPress installation that could contain malicious files.  Follow the steps below to complete an on site scan

  1. Install a plugin called “FREE WordPress Infection Scanner Plugin
  2. Activate plugin and head over to scan settings
  3. Run full scan and quarantine files that return as threats

Now these 5 steps is the very least you should do to remove any infections and will allow you to pass a malware scan and a Google site review to remove a blacklist status on your site. 

Once these things are completed, your site may need extra attention.  For example if you have modified theme files, your design may be different. 

Or some plugins do not retain all settings and you may need to set them up again. 

One thing is for sure though, YOUR SITE WILL BE CLEAN.


Remember that your ultimate goal is to find the infected files and do 1 of 3 things:

  1. Clean the file out
  2. Delete the file if not needed
  3. Replace the file with a fresh & clean version

2 Comments

Leave a Reply

Your email address will not be published. Required fields are marked *