sell website making service

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It
Spread the love

Wordfence was blocking all visitors and my email was full of blocking emails. It was supposed to block when a visitor or hacker only tries to find non-existent PHP or script pages to exploit vulnerable codes and pages and inject malware/virus.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It
inbox was full of IP-blocking messages

But due to a cache problem a lot of CSS files were missing, it was a plugin error of the cache plugin. So when any visitor was visiting the site a large number of CSS scrips was not found automatically therefore wordfence blocked the visitors.

Let’s share screenshots from my PC to walk you through the process of how I found the issue and solved it:

Step:2

I checked the Wordfence dashboard and found CSS files missing problem led to all IP blocking.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 3:

I visited the website Dakhm.com and found many missing 404 CSS files due to cache problems.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 4:

Then I tried to visit another page of the website, but now Wordfence blocked my IP too like other IPs.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 5:

In this step, I need to unblock myself and login to the website to remove my IP from Wordfence block list. I will be using Filezilla for FTP to change Wordfence plugin’s folder name so that Wordfence plugin is deactivated. In this way, my ip will be unblocked as the plugin itself is deactivated.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 6:

I could log in after deactivating the Wordfence plugin.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 6:

Follow the screenshot below to clear the cache from the wp optimize cache plugin.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 7:

Then go to Cloudways as per the below screenshot, and clear Varnish cache from your server.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It
Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Step 8:

Then go to Cloudflare as per the below screenshot, and clear Everything.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

After clearing all cache I saw there was no missing css files, from chrome inspect element.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Then change Wordfence plugin’s folder to real name with FTP and login to website and activate the plugin, then go to the blocking option and unblock necessary ips, like below screenshot. And you are done.

Wordfence Blocked All IPs Due to Cache Problem for Not Found Scripts, How I Solved It

Share this article if it helps.

If you need help regarding any WordPress/website issues, you can contact me.


Spread the love

Leave a Reply

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

Check Most Recent Posts