URL has been converted unexpectedly. Any workaround?
-
I am using my own visitor analyze CGI in external site by hitting fake img tag like:
<img src="http://www.my-cgi.com/cgi-bin/acclog.cgi?url=http://myblog.wordpress.com/">I inserted this in a text widget in my blog. But I realized that this tag is converted as follows:
<img src="https://i1.wp.com/www.my-cgi.com/cgi-bin/acclog.cgi">Since it is pointing wp.com (cashing site?), my CGI can’t get actual visitor information. Is there any good way to hit my external CGI site?
The blog I need help with is: (visible only to logged in users)
-
Hi @honeydaisuki, it’s because your CGI is linked over http. Your site is served in https, so any outside sources have to be converted over to https too, or your site would give mixed content warnings.
Can you use https://www.my-cgi.com or something similar?
-
Supernovia,
Thanks so much for the answer. My host doesn’t support https unfortunately. (It is too expensive). Is there anyway to hit my CGI with http?
https://www.my-cgi.com is fake domain. Let me replace it with the real domain in my widget at:
https://honeydaisuki.wordpress.com/(I don’t want to disclose the URL here in support page.)
-
Ah, now I understand the fake domain bit. Got it.
Unfortunately, everything that comes over your SSL-secured site will need to also be SSL secured. Can you host the CGI elsewhere?
Or, if you’re looking for stats and what not, we do have basic stats with all accounts and Google Analytics available on Business plans.
-
I could host my CGI anywhere else as far as web server, perl and small storage for log is available. Do you have any recommendation for hosting my tiny CGI?
After I posted this question, I realized that WordPress.com supports Google Analytics now, which is really great in general but, I want to track every single HTTP request to my blog and Google Analytics doesn’t fit for this purpose.
-
I don’t have suggestions, sorry. Maybe search for someone who supports CGI and SSL affordably.
-
I found one of my other hosts provide shared SSL service and I moved my CGI there. It works now with https. Yay!
I am wondering if wordpress.com provide a service to host simple CGI but it is out of the scope of this question. Thanks so much for the answers, supernovia. -
We don’t here, sorry. We provide WordPress.com software as a service and don’t allow outside code:
http://en.support.wordpress.com/code/I hope that helps! And I’m glad you’ve got your SSL working. :)
- The topic ‘URL has been converted unexpectedly. Any workaround?’ is closed to new replies.