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
-
How do I reduce the amount of internal links on my site?
Hi, Can someone help me with reducing the amount of internal links on our site please? https://www.thepresentfinder.co.uk Thanks Charlie
On-Page Optimization | | The-Present-Finder0 -
Google webmaster markup validation error
Type: Schema product Property: Image Error: Missing required field "name (fn)". Google Webmaster is showing this error when I try to validate markup on webmaster. This is my domain - www(dot)wishpicker(dot)com Would be great if someone could please help with this. Thanks
On-Page Optimization | | bansheeviv
Prakul0 -
Internal Linking
If i link page A to page B then link page B back to page A would this have less effect than linking page A to page B only? Also are their any good resources for learning internal linking best practise? Thanks in advance.
On-Page Optimization | | Bossandy0 -
Cornerstone Page And Outbound Links
I have a cornerstone page and 10 related articles that all have links to the cornerstone page. My question is, should the cornerstone page link back to those 10 articles as well or will it lose juice by doing so? Thanks in advance 😉
On-Page Optimization | | Humanovation0 -
How to use canonical with mobile site to main site
I am pretty sure that the mobile version of the main site needs to be the same canonical link from what I understand. I am trying to find good docuementation that supports this. Even better if its from Google or Matt Cutts. I have a main domain like http://www.mydomain.com the mobile version of this is http://www.mydomain.com/m/ Should my canonical be rel="canonical" href="http://www.mydomain.com"/> for both these pages?
On-Page Optimization | | cbielich0 -
Several Links in Some Pages
Dear all, Our main site is a bussiness directory, and following some SEO advices, we are creating landing pages for each category, in order to optimize them for the keywords. Those landing pages have links to the listings related to them. Using the same idea, we have created pages related to the regions, and those pages include links to the listings located in them. The only problem that I see with that, is the number of links that some categories or regions could have. Is there a limit of recomended number of links per page, from a SEO perspective? We also have a main category page, that includes a list of all categories, and this page could also have a relatively high number of links. The pages have around 300 to 500 words, some include also images, some include videos. Many thanks for your help, Daniel
On-Page Optimization | | te_c0 -
Working on this site...
and wondering what is wrong in terms of on page SEO (basically just want some feedback on tips/changes to make) http://www.stevenholmesstudio.com/ I'm assuming that the title shouldn't be just the img file name..any suggestions for what it should be?
On-Page Optimization | | callmeed0 -
Non-linked product short descriptions bad on ecommerce sites?
Hi, I have a question regarding SEO for ecommerce: Do you guys think it could be a bad thing to display non-linked short product descriptions of products on the home page and category pages? Can that cause cannibalism between different pages and non-optimal keyword targeting? I have a shop of which it's homepage tend to rank for some unintended phrases. Thank you, E
On-Page Optimization | | mrlolalot0