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
-
Why i my site not ranking
I have been building my website www.ubodo.com ( its a property portal ) I have feeds coming in from nearly 200 estate agents and I have just over 26k properties listed all over the world. I have tried to make the site fast, mobile friendly and followed several SEO tutorials but I am looky If I get 10 new visitors a day !!! I have managed to get 1st page ranking for terms like " Property for sale in Hambye" ( less competitve than " Property for Sale in France " ) Can any one see anything obvious I have done wrong, I feel like there is a switch to turn on the traffic and I cant find it. Any help would be greatly appreciated Barry
On-Page Optimization | | Bazconnolly10 -
Help for 404 error
Is it ok to use hash(#) in URL as right now it is showing 404 error while checking broken links using check my link chrome extension. E.g. http://instafrsh.com/index.php#aboutUs If not, Please suggest how to resolve this issue
On-Page Optimization | | Obbserv0 -
Internal and Link Juice Analysis - Too Many Links Error
Howdy! I have an analysis question related to internal links/link juice. Here is the general link set up of our site: 1. All Site Pages (Including Home Page): We have drop down "mega" menus in the header of everypage linking to various sub-categories on the site. So, because of this, in our header, we have a few hundred links to various pages on our site and these show up on every page of the site. 2. Product Pages: Header pages as mentioned above, but on top of that, we list out the keywords for that particular product and each keyword is linked back to our search results pages for that particular keyword. In General Moz is telling us we are having between 200-300 links on each product page. Currently, our Search Results pages are ranking higher and showing up in search more than our actual product pages. So, based on the above info, here are some thoughts: 1. Should we ajax in the Header links so that they aren't showing up for the search engines? Or, should we ajax them in only on all pages that are not the Home Page? 2. Should we get rid of the keyword links back to the Search Results pages that are on the product pages? What effect would these changes "actually" have? Does this just improve crawling? Or are there other positive results that would come of changes like these? We have hundreds of thousands of products, so if we were to make changes like these, could we experience negative results? Thanks for your help! Craig
On-Page Optimization | | TheCraig0 -
Related products
How many related products should maximum I have on the product pages?
On-Page Optimization | | BridalHotspot
I see a lot of conflicting answers on many blogs. Hope that someone can help me out!0 -
No links or traffic to our articles
Hello, Our articles are written by a professional in the field, taylored to what we think our ecommerce customers would most want to know about. But there is no traffic to our articles and almost no inbound links. We have 15 articles around 500 words (roughly) each. We've got a right sidebar banner about our FAQ and articles and a rotating banner with one slde about our articles. Also, we have a tab at the top. We've had a good article section for 5 months, and a descent one for a couple of years Could it be our industry, or what can we do?
On-Page Optimization | | BobGW0 -
Internal links
Hi, I am working on a project with very few really important pages - its now about 20 pages and this number will not increase to more than 30 by the end of the year. Today the majority of these Pages is 2 clicks away from the Homepage for navigational reasons. Now I am wondering: 1. If I should set links from the Homepage directly to these Pages to pass more juice?
On-Page Optimization | | Naturalmente
2 If you would suggest so - how would you recommend me to do this in Terms of usability and SEO? thanks in advance for your help.0 -
Too many on page links
I'm having trouble interpreting this data. It says several of my blog pages have too many on page links, some as high as 140 and there is no example of a blog post that they are referring to. What am I missing? I never post more than a handful (5-7) in our 600-1000wd blogs. When I drill down, it doesn't give me very much information except "Found over 41 years ago" off to the right. When I click on the "too many on page links" URL, it provides a long list of website pages that are renamed with the blog name. huh? A lot of this stuff isn't very intuitive, SEOMoz.
On-Page Optimization | | amandahx20 -
Breadcrumb links
Hello. Are the breadcrumb links valued more over other links ? (google searches for them specificaly to display them in the results)
On-Page Optimization | | seo.academy0