Premium WordPress Themes Download
Download Premium WordPress Themes Free
Download Premium WordPress Themes Free
Download WordPress Themes Free
free download udemy course
download redmi firmware
Download Nulled WordPress Themes

How to Fix Adsense Loading Mixed Content on https Site

0 60

Today I will show you How to Fix Adsense loading mixed content on https site.

I started noticing mixed content warnings on my site couple of days ago, which actually got me concerned after much digging I discovered it was coming from Adsense.

Chrome simply removes the green padlock and doesn’t show anything, It became obvious when I used Firefox it showed the yellow symbol over the lock on the browser address bar. I use Chrome primarily and unfortunately didn’t notice it sooner

Am sure you must have noticed mixed content on your https site after implementing Google adsense, didn’t know it was coming from Adsense right. The funny thing is the adslots are using latest code (//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js) sure adsense didn’t notice this.

The goodness is that it can be fixed and that is the purpose of this article.

Here is a quick guide to Fix Adsense loading mixed content on https site.

Ask the users browser to fetch the secure content, if possible:

<meta http-equiv=”Content-Security-Policy” content=”upgrade-insecure-requests” />

If the ad is available via https, then it will fetch that version, otherwise, the content will be blocked and another shown in its place.

Put the meta in the

<head>

Others Are Reading
1 of 12

Section of your blog.

Install Code on WordPress

For wordpress user there are lots of Plugins to place this code below the <head> section of your blog one of them is Head & Footer Code.

Simply login to your WordPress admin area. Click on plugins and select Add New. Then paste Head & Footer Code on the search bar install and activate the plugin to place the above code on the <head> section of your WordPress blog.

Install Code on Blogspot

If you use blogspot it’s pretty simple kindly Login to your Blogger Dashboard click on them an select Edit HTML. Look out for <head> which is above your Blogger theme and Paste the above code below it.

If you find this post helpful, don’t hesitate to share this post on your social network. It will only take a moment, and also it is quite easy and helpful for others.

Subscribe to our newsletter
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. AcceptRead More