Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why is my page showing as validated in the W3C validator, but not when using SEO checking tools?

I have a web page that returns in W3C Validator as fully validated (and is green).

But when I run a check of the same URL in many SEO testing websites, it fails and tells me the errors it failed on:

Bad value v:url for attribute rel on element a: The string v:url is not a registered keyword.

The relative code this is referring to is schema markup for the breadcrumbs:

<div id="breadcrumbs">
    <span prefix="v: http://rdf.data-vocabulary.org/#">
        <span typeof="v:Breadcrumb"><a href="http://www.bellavou.co.uk" rel="v:url" property="v:title"><span class="fa fa-home"><span class="breadcrumb_first">Home</span></span></a></span>
        <span class="fa fa-angle-right"></span>
        <span typeof="v:Breadcrumb"><a href="http://www.bellavou.co.uk/contact-us/" rel="v:url" property="v:title">Contact Us</a></span>
    </span>
</div>

It's also worth noting that the markup completely validates in Google's Structured Data Testing Tool.

Why is it not validating in the third-party website checks, but more importantly, why is it showing as valid in the actual W3C website?

like image 545
Lee Avatar asked Mar 25 '15 13:03

Lee


People also ask

Is W3C validation important for SEO?

W3C validation helps you to get better rankings in search engines (SEO). Errors in your code can affect your site's performance and make a big impact on your site's SEO. Search engines check the HTML or XHTML code of your website when searching.

What is W3C validation in SEO?

W3C validation is the process of checking your website's code to determine if it follows the correct formatting standards. Failure to validate your code against these standards could mean your website suffers errors or your traffic numbers aren't as high as they could be due to poor readability.

What does W3C validation testing do?

W3C validation is the process of checking a website's code to determine if it follows the formatting standards. If you fail to validate your website's pages based on W3C standards, your website will most likely suffer from errors or poor traffic owing to poor formatting, readability or page load speed.


1 Answers

Your web page is valid, and that is the reason that the W3C validator tells you that.

But many SEO tools don't understand the prefix in the parent span tag, and therefore expect the value of rel to be one of the typical link types (alternate, nofollow, etc...) and don't accept the one (v:url) that you are using.

like image 65
joseignaciorc Avatar answered Nov 15 '22 06:11

joseignaciorc