Should I use https schema markup after http-https migration?
-
Dear Moz community,
Noticed that several groups of websites after HTTP -> HTTPS migration update their schema markup from, example :
{
"@context": "http://schema.org",
"@type": "WebSite",
"name": "Your WebSite Name",
"alternateName": "An alternative name for your WebSite",
"url": "http://www.your-site.com"
}becomes
{
"@context": "https://schema.org",
"@type": "WebSite",
"name": "Your WebSite Name",
"alternateName": "An alternative name for your WebSite",
"url": "https://www.example.com"
}Interesting to know, because Moz website is on https protocol but uses http version of markup. Looking forward for answers
-
Thank you very much for the answer.
-
Thanks for your great question!
Schema.org has stated that using either is fine. Here is their longer form answer from their FAQ page on which to use:
"There is a general trend towards using
'https'
more widely, and you can already write'https://schema.org'
in your structured data. Over time we will migrate the schema.org site itself towards usinghttps:
as the default version of the site and our preferred form in examples. However 'http://schema.org' -based URLs in structured data markup will remain widely understood for the forseeable future and there should be no urgency about migrating existing data. This is a lengthy way of saying that both'https://schema.org'
and'http://schema.org'
are fine."That being said...I think I'll go switch Moz.com to https now. Think they will keep http:// around for a while, though. Especially considering SEOs who implemented Schema before https and G doesn't want to penalize site owners for not knowing any better? <- My personal thoughts on this.
Thanks again!
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
-
We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version?
We are redirecting http and non www versions of our website. Should all versions http (non www version and www version) and https (non www version) should just have 1 redirect to the https www version? Thant way all forms of the website are pointing to one version?
Intermediate & Advanced SEO | | Caffeine_Marketing0 -
Migration to a new domain
Hi everyone, So i have one project where I'm planning to move current content on new domain, two reasons: 1. It seems current domain has some google penalty (backlink related, not manual) 2. Client wants rebranding and already has domain with new brand name. So as content is high quality and there is no content related penalty from google, what would be the best way to migrate existing content without passing any penalty AND without Google treating it as duplicate content. If i do 301 i suspect any penalty there is might follow, if i just copy existing content it won't be original content, what is the best solution here? Thanks
Intermediate & Advanced SEO | | joelsemy0 -
Botched domain migration
tldr: we consolidated several of our domains from longdomain.com to domain.com over a year ago and lost our highest value keywords, roughly 70% of our traffic. All our links were natural google loved our site up until that point. Things started to go sideways then... Oct 2016: 301 redirect everything from http(s)://(www).longdomain.com/* to https://www.domain.com/*, traffic starts to slump Jan 2017: Traffic has slumped 30-40% from normal seasonal levels Apr 2017: We experiment with Rankscience, implementation is botched creating a robots.txt disallow: / which is corrected in a week. traffic slumps even more during this period, but this issue seems to recover over the next month or two (hard to tell since now we have multiple factors and seasonal traffic). Oct 2017: Start an engagement with a seo firm that has experience with migration issues. They find some pages which are not redirecting and claimed that google is confused by that and pages we were redirecting wouldnt pass all the pr value until every page on our old site (including non public ones that google seems to have scraped from emails) was redirected over. Interm: Site audits from the seo form, many minor onsite improvements, link disvow, etc etc, no impact really. Current day: Stumped, and the business is hurting from the lost rankings and cost of seo. Those high value rankings are just gone and I did everything by the book as best I know. Redirects, same content, just punished. Up until the interacting with Rankscience and the seo firm, I handled all the serp related concerns myself. This has left me pretty disillusioned and at my wits end on where to look next.
Intermediate & Advanced SEO | | sonar0 -
Combining multiple HTTPS sites
Hi there! I am currently combining several sites (corporate brochure site and ecommerce site) for a client into one central website. All of the content and structure on the new site is set up and relevant pages have 301 redirects ready. My main concern is that the old .co.uk website has an SSL certificate and will be pointing to the new pages on the new .com website (with new SSL in place). Will this cause connection privacy issues? And if so, what's the best way to resolve them? Many thanks!
Intermediate & Advanced SEO | | Daniel_GlueMedia0 -
Preserving rankings after migration
I have acquired new a client who wants to migrate to a new platform. He also wants a 100% guarantee we maintain he Google search rankings. How realistic is this? Anyone got a checklist they can recommend?
Intermediate & Advanced SEO | | muzzmoz0 -
Schema.org for Hotels
Good morning, I have a question about how to use Schema.org on a hotel website. Since a website will have many pages, do I add the microdata for the hotel's address, contact info, ratings, reviews, etc on every page as that information is in the footer of each page or do I just add to the homepage once? Thanks in advance
Intermediate & Advanced SEO | | mulch0 -
Whch Google Advanced Search Query To Use?
Hi basically i want to find sites which mention a specific exact keyword on the page e.g. "BMW" but the same keyword "BMW" is not contained in the title tag of the page. Is there a advanced search query to do this? I did try “BMW” Intitle:"-bmw" no luck. I do also have scrapebox if there is a way to do this through that. Cheers, Mark
Intermediate & Advanced SEO | | Mikey0080 -
Schema for a discount
Hi! I'm trying to implement schema for a discount and it doesn't seem to be working. Is this the correct code? NAME OF ORDER HERE are $DISCOUNT HERE What am I missing? Thanks!
Intermediate & Advanced SEO | | 199580