Images Not Showing After Changing from IP to Domain Name

[ad_1]

The browser error console explains the problem:

Mixed Content: The page at '<URL>' was loaded over HTTPS, but requested an insecure element '<URL>'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/Petes-QR-code.png'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/app-store-google-play.png'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/beer-store-logo.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/LCBO-logo.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/holding-beer-500x750-1.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/follow-us-on-FB.png'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:1 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/payment-methods-icons-600.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/Petes-QR-code.png'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/app-store-google-play.png'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/beer-store-logo.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/LCBO-logo.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/holding-beer-500x750-1.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/follow-us-on-FB.png'. This request was not upgraded to HTTPS because its URL's host is an IP address.
petesdialabottle.ca/:507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/payment-methods-icons-600.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.
(index):507 Mixed Content: The page at 'https://petesdialabottle.ca/' was loaded over HTTPS, but requested an insecure element 'http://142.44.176.152/wp-content/uploads/beer-glass-1920x600-1.jpg'. This request was not upgraded to HTTPS because its URL's host is an IP address.

Install the plugin “Better Search Replace“. Search in all tables for and replace with

lisa

(@contentiskey)

try a plugin like to find all of the old URLs and replace with new URL.

create a complete backup (files and database) before making any changes

Thread Starter
ma3ry

(@ma3ry)

Many thanks everyone! Your help has been awesome! All is fixed, thanks to you!!!!

Much appreciated!!!!!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer