最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

errors - What are some best practices to clean up http mix content warnings?

programmeradmin1浏览0评论

I have a WordPress site with SSL Certificate.

Some of my web pages (i.e. ) don't display the green SSL Lock in the address bar but display https://

I noticed a bunch of errors due to image files, like in the screenshot below that appear on those pages. What is an easy and fast way to convert all http requests to https?


(source: css-tricks)

I have a WordPress site with SSL Certificate.

Some of my web pages (i.e. https://www.example/contact) don't display the green SSL Lock in the address bar but display https://

I noticed a bunch of errors due to image files, like in the screenshot below that appear on those pages. What is an easy and fast way to convert all http requests to https?


(source: css-tricks)

Share Improve this question edited Jun 4, 2019 at 11:03 Glorfindel 6093 gold badges10 silver badges18 bronze badges asked Dec 16, 2016 at 0:26 Alt-Rock NinjaAlt-Rock Ninja 651 gold badge2 silver badges8 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

From your screenshot, it looks like you are displaying images from another website (nga.gov), for example:

http://images.nga.gov/?service=asset&action=show_preview&asset=120079

After checking out the links with the mixed content warning, I can see that SSL is set up for this website, which is good. However, their links still default to HTTP, for whatever reason.

To fix this on your end, simply change the protocol from http:// to https://.

https://images.nga.gov/?service=asset&action=show_preview&asset=120079

You shouldn't get a warning once you manually update the links to the HTTPS protocols.

Additionally, you can consider using a plugin such as Remove HTTP which strips the protocols from all of your URLs to help fix your mixed content warnings.

发布评论

评论列表(0)

  1. 暂无评论