Can I have schema.org links as relative on my site? Getting an html validation error.
-
I'm getting an html validation error on relative schema.org links
"Bad value //schema.org/Organization for attribute itemtype on element div: The string //schema.org/Organization is not an absolute URL."
This is my code for https site:
<code class="input">e itemtype="//schema.org/Organization"><a itemprop="url" class="navbar-brand" …<="" code=""></a></code>
-
Yup.
-
I've read all your links and what I understand is an http link to schema.org is best practice. yes?
-
The error is looking for an absolute URL (including the http or https) so it doesn't look like it'll parse without it there. There's a nice discussion from a year ago at Stack Exchange on this as well, with the conclusion being, "Regarding HTTP vs. HTTPS, see also my answer to a similar (not duplicate) question: I’d recommend to always use the HTTP variant of Schema.org URIs." From: http://webmasters.stackexchange.com/questions/71857/schema-org-itemtype-identifier-should-it-use-relative-urls-or-https-links Cheers!
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
-
Link in H1 tag?
Hi guys, We're working through a redesign of our product page and are considering the following: http://screencast.com/t/NBSsDGA9vgS3 Currently the product name (including the brand name - Arc'teryx) in this case is included in the H1 and none of the title is linked. You can see this here: http://www.evo.com/synthetic-jackets/arcteryx-atom-lt-hoodie-womens.aspx The firm we're working with is proposing keeping the entire title in the H1 but linking the brand name to the entire brand assortment. My concern is that the brand name is a critical part of the product title and should be text (not a link). Any suggestions? Thanks!
On-Page Optimization | | evoNick
Will0 -
Duplicate content errors
I have multiple duplicate content errors in my crawl diagnostics. The problem is though that i already took care of these problems with the canonical tag but MOZ keeps saying there is a problem. For example this page http://www.letspump.dk/produkter/56-aminosyre/ has a canonical tag, but moz still says it has an error. Why is that?
On-Page Optimization | | toejklemme0 -
Sitemap for Mobile Version of Site
Hi, I just did a mobile version (http://m.vietnamvisacorp.com) of my site (http://www.vietnamvisacorp.com). And was looking for some guidance on where to put it in the sitemap. Do i need an entirely new sitemap for mobile site, or do i just add to my existing .xml of desktop site. Thank you!
On-Page Optimization | | JohnHuynh0 -
What is the right schema.org link for a web design / developer / mobile agency?
It seems strange that a group of web developers would make up an entire structured language to designate businesses by category and somehow forget to include companies like.... web developers. So I must be missing it, what is correct to use?
On-Page Optimization | | yeagerd0 -
Why is this site 1st in Google??
Hello The site www.woodensigns.net is 1st in google for the keyword "wooden Signs". All seo indicators are poor except keyword in url; wich, i thought, was not a + for google anymore. Could someone help me to understand here? Thank you Emmanuel
On-Page Optimization | | manu450 -
To Many Links On Page
I'm having a problem on a crawl warning for our main site. The warning is that every one of my pages has to many links, a little over 1,000 on almost all of them. I think this is because our category list on our left hand sidebar has so many categories, and that sidebar appears on every last one of our pages even all the way into our products. Can anyone take a look and tell me if this is the reason why and what I could possibly do about this? Thanks in advance! www.Ocelco.com
On-Page Optimization | | Mike.Bean0 -
Do Schema.org changes impact local SEO
I've reviewed the various presentation and blog posts from SMX advanced regarding local SEO and I didn't see any mention of Schema.org and microformats. Has any research or case studies been presented supporting that implementation of Schema.org microformats will improve local results? Here is one example where I've implemented the basics in the address info of the footer. http://bit.ly/lZQYeg Any tips on how to further optimize with schema.org markup?
On-Page Optimization | | DotCar0 -
Links to subfolders
Hi everyone, I would like to know your opinion on this. Do you feel like optimizing, especially pointing links to a subfolder, e.g. www.domain.com/en/ (english language), should be the same as doing that for the main URL (another language)? That said, do you think all the domain will benefit from anchors to subfolders? Thanks a lot!
On-Page Optimization | | SEOpt0