Microdata / Schema.org and HTTPS
-
I have a quick question regarding Microdata / Schema.org files that are not hosted on secure connections.
I receive a receive a security error from my e-commerce site because the code references the schema over HTTP instead of HTTPS.<div< span="">itemscope itemtype="http://schema.org/Product"></div<>This is not the first time I have run into this issue. We also use MRSS schema for an RSS feed from yahoo and the same thing happens.<div< span="">xmlns:media="http://search.yahoo.com/mrss"></div<>The problem mainly lies in the fact that these schemas are not hosted over HTTPS. If you add HTTPS to the beginning of both you will get a security error.Just wondering if anyone else has dealt with this or similar issue and what the "best practices" are around this?Is it ok to obtain the schema directly and then host it on our server, over our secure connection?Thanks!
-
Hey Anthony,
I would suggest that this is just as applicable to Author or Organisation and really, I would not even be looking to index these secure pages & I would only use Author on a specific piece of content and organisation on a contact page or some such page about the business.
I have to say I am no expert on Schema but it was my understanding that the idea is to mark up individual pages to provide additional relevance. That is, your whole site does not contain microdata about the organisation and as such you would not want to display such a snippet of information. Likewise, your shopping cart is not published by a specific author.
Disclaimer, I am no expert here but will be interesting to see what other's have to say.
Marcus
-
Thanks for the response. This is a definitely work around, but for Products / Offers only.
This doesn't help when applying Microdata / Schema to "global" site specific parameters, such as Author or Organization.(http://schema.org/Organization)Any one have any ideas of how this should be handled on a global level that doesn't involve turning the Microdata On / Off?
-
Hey Anthony, not sure about the self hosting thing, but if this specific schema is for the product pages, do you need to reference these on the non https version of your site (the product catalogue etc?)
So, use the products, reviews etc schema and reference them where needed and then drop the reference on all other pages where they are not needed and especially on the checkout pages where you are taking the user onto a secure connection.
If you take a look at some big players, play.com as an example, they use this approach.
Hope it helps!
Marcus
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Browse Questions
Explore more categories
-
Moz Tools
Chat with the community about the Moz tools.
-
SEO Tactics
Discuss the SEO process with fellow marketers
-
Community
Discuss industry events, jobs, and news!
-
Digital Marketing
Chat about tactics outside of SEO
-
Research & Trends
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
Related Questions
-
Does link position matter in the content/html code
My question is that if I have several links going to different landing pages will the one at the top of the content pass more value than ones at the bottom. Assuming that there are not more than 1 of the same link in the content. The ultimate question is whether or not link position in the content/html code make a difference if it passes more value. This question comes in response to this whiteboard Friday https://www.youtube.com/watch?v=xAH762AqUTU Rand talks about how if there are 2 links going to the same URL from the same content page then google will only inherit the value of the anchor text from the first link on the page and not the both of them. Meaning that google will treat that second link as if it doesn’t exist. There are lots of resources that shows this was true but there isn’t much content newer than 2010 that say this is still true, We all know that things have changed a lot since then Does that make sense?
Intermediate & Advanced SEO | | 97th_Floor0 -
Schema markup or* format ?
Hello, To present this information on my website Country: France Region: Alsace Price: 1000 USD Should I present that in or format ? what is best for google to understand. Thank you
Intermediate & Advanced SEO | | seoanalytics0 -
HTTPS & Redirects
Hi We're moving to https imminently & I wondered if anyone has advice on redirects. Obviously we'll be redirecting all http versions to https - but should I be checking how many redirects are in each chain and amending accordingly? If there's 4-5 in a chain, remove the middle unnecessary URLS ? Advice please 🙂
Intermediate & Advanced SEO | | BeckyKey0 -
Benefits/drawbacks to different Schema markup languages (ie. JSON-LD, Microdata, RDFa)
Just a question (or questions) I have wondered about. What's the difference, besides the actual encoding, between the three? Why have three? Why not just the one? Seems to me that Microdata is the easiest, but maybe I am wrong. Is there a reason to use one versus another? I have not found anything explaining this on schema.org - I suppose this is just a discussion versus getting one right or wrong answer. I am just curious of the opinions of people in the SEO MOZ community. Unless of course there is one answer. I'll take that too.
Intermediate & Advanced SEO | | Brian_Dowd1 -
Schema Tag and RDF Microdata for Breadcrumbs
Can someone assist to analyse is the Schema tag and RDF Microdata is correct - http://www.mycarhelpline.com/index.php?option=com_newcar&view=product&Itemid=2&id=106&vid=361 - http://www.mycarhelpline.com/index.php?option=com_newcar&view=product&Itemid=2&id=22&vid=6 Reason - am asking is there are many sites reported on that the rich snippet though shows but in actual the RDFMicrodata does not show in on search engines many thanks
Intermediate & Advanced SEO | | Modi0 -
Double Forward Slash in URL //
My client is using double forward slahes in URL like this "//" is this affecting SEO?
Intermediate & Advanced SEO | | yanaiguana1110 -
Authorship/Ranking when 2 separate authors
Hello, We've got a pdf with, on the front page "by author 1 and author 2" Author one published the PDF and sits at rank 3 Author 2 is us (on a completely different website than author 1) How can we rank highest, and can we use google authorship? Can we get our picture next to the article? Let me know if we need to convert to html for (1) and/or (2)
Intermediate & Advanced SEO | | BobGW0 -
Not ranking as well in Yahoo/Bing as in Google. Why?
For my top 132 keywords, my target ranks an average of 7 positions lower in Bing and an average of 9 positions lower in Yahoo. Does anyone have some good resources to read, or any tips on why we would rank so much poorer in Bing/Yahoo than in google?
Intermediate & Advanced SEO | | adriandg0