Your current webpage has lots of errors about mixed content from non-SSL sources, which is probably why portions of it are failing to work.
My solution derived from this StackOverflow comment:
<div id="ip_result">Fetching IP address...</div>
<script>
const resultDiv = document.getElementById("ip_result");
function getIPAddress(json) {
resultDiv.innerHTML="My IP Address is: " + (json.ip);
}
</script>
<script src="https://ipinfo.io/?format=jsonp&callback=getIPAddress"></script>
Tested and working in RapidWeaver 8 and over SSL. It is pure HTML + JavaScript. Place it wherever you want the IP address shown in the page.
‘ip_result’ is the container for displaying the IP address. We put some simple content (Fetching IP address…) in here while the page is loading.
The JavaScript uses the document object to get the container as a variable. Then we define a new function called getIPAddress and pass our JSON callback from https://ipinfo.io as an argument. Output a simple text string and the returned IP address within the function.
The text ‘My IP Address is:’ can be changed deleted if it is not required.
Emphasis on the fact that this is a very simple solution. Won’t work if JavaScript is disabled or perhaps if certain privacy blocks are in place. Can’t say for sure what will happen if a proxy is being used. But if you want simple, this should work as a copy and paste solution.
Hi @teefers - I am not sure where that content comes from, I just used a bit of code I found online. I also just in the past couple of days added SSL to my sites, so I am finding a lot of instances of http instead of https, so I am working through that too. Thanks for the reply.
Peg I also had my host redirect my sites to https today.
Then I went through every project in RW and switched the several site addresses, General and publish settings. Then I cleared the caches in safari and firefox, then I went through my safari history and cleared out all those http history items from my sites in the history.
Others on this forum have found the following website useful in trying to determine why a secure website is still pulling-in things from insecure sources or displaying other related errors: