Fix Microsoft Defender SmartScreen Blocks Unsafe Content

White exclamation mark on red triangle with words: Fix Microsoft Defender SmartScreen Blocks this Unsafe Content

Learn how to fix “Microsoft Defender SmartScreen has blocked this unsafe content” error on your WordPress site by following the instructions in this post.

Recently a website visitor emailed me because his Edge browser flagged one of my WordPress website pages as unsafe content.

The page that was marked as unsafe was Astra Training Videos.

I really appreciated him reaching out to alert me of the problem.

And the first thing I had to make sure of was that my WordPress site wasn’t hacked!

The good news is that it wasn’t.

But the bad news was that I could not recreate the issue my visitor had experienced with Edge on my Windows 10 machine.

The Error: Microsoft Defender SmartScreen Blocks Unsafe Content

So the visitor was kind enough to send along the screen he was seeing:

Now once I was confident that my site was safe, I knew it was possible to mark it as safe. And you can read more about that here.

Though I was tempted to do that I felt like it would be putting a band-aid on a bigger problem that would just keep resurfacing.

I wanted to get to the root problem to see exactly why a visitor using Edge encountered this issue.

And I didn’t want to have to deal with this issue in the future.

So I set out to find the reason for the error.

And then I needed to fix “Microsoft Defender SmartScreen has blocked this unsafe content” error.

The Reason: Lazy Loading of Embedded YouTube Videos

I narrowed the issue down to pages with lazy loading of embedded YouTube video that were being viewed with Microsoft Edge browser.

But Firefox and Chrome worked just fine.

After further in-depth analysis, it appeared to be an issue with the Lazy Load Settings of WP-Fastest-Cache Premium plugin that triggered the error in the Edge browser.

See highlighted area below:

I reached out to the developer of WP-Fastest-Cache plugin and he replied that this error was related to the lazy load feature.

As of November 12, 2020, the plugin developer has patched WP-Fastest-Cache Premium, but it will be a little while before he releases a full plugin update.

TIP ~ If you want the latest plugin version with this patch, please delete your premium version. Then download and manually install and activate the premium plugin and all of your settings will be retained.

If you had applied the temporary fix below, you can remove the lazy load iframe exclusion from the plugin settings.

Temporary Fix: Microsoft Defender SmartScreen Blocks Unsafe Content

TIP ~ As of November 12, 2020, you no longer need to apply this temporary fix.

Please download WP-Fastest-Cache-Premium and reinstall it on your site.


So here is how to temporarily fix Microsoft Defender SmartScreen has blocked this unsafe content error.

1. Log into your WordPress dashboard and go to WP Fastest Cache > Settings.

2. Check the Lazy Load setting:

3. The following screen appears:

Choose the Image Placeholder. By default a blank image is used.

4. Click Next

5. The following screen appears:

Type “iframe” in the “Add Keyword” box and hit enter.

NOTE: Press enter or the keyword will not save.

If the word “iframe” is in an orange box, you’ve successfully saved it:

6. Click Finish.

YouTube iframe embeds will now be excluded from Lazy Load.

At this point, your page should no longer throw the “Microsoft Defender SmartScreen has blocked this unsafe content” error.

But a word of caution ~ this fix does come with a caveat. You’ll be trading performance for the fix.

When you exclude iframe embeds, it WILL affect your site speed.

So to reiterate ~ if you have applied this temporary fix while we waited for WP-Fastest-Cache Premium to be patched, you’ll need to download the plugin.

Then uninstall the premium version and install the patched version.

I hope this post has helped! Please feel free to leave any questions or comments below.

About The Author

Subscribe
Notify of
guest
1 Comment
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Peter
Peter
2 months ago

Yet another Microsoft bug that Microsoft is probably going to ignore, and make everyone else figure out how to work around THEIR bug!

It is not just WordPress — Edge is hopelessly broken. I can’t even go to safe.duckduckgo.com. I’ve reported this as “safe” many times over the past few months…with no fix from Microsoft.

Last straw — I’m done with Edge.

Scroll to Top

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close