Is it possible to have schema.org itemtype
s for both secure and insecure ports? I run a static-ish site made in Jekyll, and am implementing Schema.org on the individual pages. As a result, I'm trying to use the following:
<div itemscope itemtype="//schema.org/Organization">
<a itemprop="url" class="navbar-brand" href="/">
<img itemprop="logo" src="/images/logo.png">
</a>
</div>
This doesn't validate with Google's Structured Data Testing Tool. It doesn't register the Items as existing. Is there a good way to implement Schema.org in a static page hosted on both SSL and non-SSL ports?
http://www.example.com
when using both/file.png
or protocol selector//
because it doesn't know the domain since the test is being run on their server not yours... Maybe I've misunderstood the question. Personally I would enforce the SSL regardless of non-input pages as so many businesses and websites are doing nowadays regardless, or if your able to use PHP then you could use a PHP Variable to add https or http depending which URL was first accessed, few ways this can be done really. – Simon Hayter♦ Sep 2 '14 at 17:22https://
URL into the Structured Data Testing Tool, and it is coming back with errors. Browsers are also complaining about insecure data in a secure page when I test there. – Jack M. Sep 2 '14 at 22:12