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
-
site speed
i use mid-quality pic and... but my site speed is low
On-Page Optimization | | zlbvasgabc
any suggestion?
my site is:
https://bandolini.ir/0 -
Use External Links
Hey 🙂 I noticed when analysing my pages that Moz gives the following advice about adding external links to my articles; "On any page specifically targeting a keyword, link externally to at least one (and possibly more than one) relevant, trusted resources as a best practice." As a small business I work pretty damn hard to get visitors to my website, so why on earth would I want to go to all that trouble just to send them away again to a trusted resouce? Secondly, what exactly is a "trusted resource"? Can I simply use search and use the top competitor, for example Moz or Wikipedia and does the anchor need to be an exact match or will a partial suffice. I say this because I already have the top spot for my longtail, so an exact match would be pointless. And lastly, I notice that pretty much all quality sites use external links to open in the same window i.e. not target=_blank, I never thought of it before today, but now that I'm considering using external linking in my articles I guess it's important to know the answer - i.e. Is this a best practice and does this give any seo benefit? Cheers, Lee :)
On-Page Optimization | | LeeC0 -
Too Many On-Page Links, Can You HELP???
This is the best architecture I found to help my visitors find there furnace filter size. Does it hurt my SEO? Index page has, 210 links and most other pages has, 190 links. Thank you, BigBlaze
On-Page Optimization | | BigBlaze2050 -
Site Cleanup Operation
Hi, I hope you can help, I have been asked to look at a friends site that is simply shocking, but somehow ranks for its main target keywords, mainly because they are easy. But going through the site he has like 350 links on his menus that are all follow so I need to change them to nofollow, but should anything else normally be marked such as no index etc on a menu link. Also upon doing a Moz scan there are something like 250 missing meta descriptions from old blog posts. When I looked closer they had been using the blog section for posting relevant news headlines, but thats it, So he has 250 useless, low quality blog posts. My question is, what should I really do with them, ie delete, redirect, canonical etc. Any help is much appreciated. Thanks Paul
On-Page Optimization | | propertyhunter0 -
Too many links on home page
SEOmoz crawl states I have 3 pages with too many links. My sites are hosted on Yahoo small business. One page they state is too long is the home page/ind. with 600 links to each page on the web site ( I think). Is this really a problem and how do I fix it? The other two pages are product categories that link to the products under the main product type. What I do not understand is that we have many larger product categories that SEOmoz crawl is not stating too many.
On-Page Optimization | | Wales0 -
I have 2 canonical links. Must get rid of one?
On my wordpress blog, i have 2 canonical links for every single post, like this: One is generated by wordpress theme: rel='canonical' href='http://site.com/article-title/' /> The other one is generated by AllinOne seo pack: <link rel="<a class="attribute-value">canonical</a>" content="<a class="attribute-value">http://site.com/article-title/</a>" /> I tried to remove one of them, but if i uncheck from AllinOne, the source code is the same. Also, on-page analysis from SeoMoz tells me that i need only one canonical link. I don't have errors in Google Webmater Tools. What should I do?
On-Page Optimization | | Vladone800 -
Can Page Authority of a site be higher than its Domain Authority?
I own a website called Takeyourtips.com. While doing a search no Google, I found that the page authority of the home page (31) is higher than the domain authority (23). I was wondering if it's really possible because my understanding was page authority of a page is determined by its domain authority. Therefore, it the domain authority of a website is 23, none of its page could have a higher page authority. Plus, upon consulting an SEO expert, I was told that neither Domain Authority or Page Authority of a page carries any importance as far as higher ranking of a website is concerned. Is this true? Thanks in advance for the answers. Cheers, Sushant large
On-Page Optimization | | suskanchan0 -
Internal Followed Links:
Ran Open site explorer on my site: www.psbsperakers.com It is saying that I only have "1" Internal followed link could somebody tell me what that means... and maybe take a look at my site and see it this is a quick fix?
On-Page Optimization | | kevin48030