AlexB
AlexB

Reputation: 2174

HTML 5 google publisher link validation error

HTML 5 google publisher link validation error:

    Error: Bad value publisher for attribute rel on element link: Not an absolute IRI. The string publisher is not a registered keyword or absolute URL.

From line 13, column 1; to line 13, column 75

</script>↩<link href="https://plus.google.com/my publisher id" rel="publisher"> ↩</he

Syntax of absolute IRI:
    An absolute URL. For example: http://example.org/hello, but not /hello. Spaces should be escaped as %20. 

Upvotes: 8

Views: 2601

Answers (2)

AlbertoFdzM
AlbertoFdzM

Reputation: 1053

Have you try this:

<link rel="author" href="https://plus.google.com/PUBLISERID?rel=publisher">

Passed HTML5 validation.

Upvotes: 4

mattja
mattja

Reputation: 79

If you're using:

<link rel="author" href="https://plus.google.com/PUBLISERID?rel=publisher" />

Google can't find the publisher link!

Better solution is:

<a href="https://plus.google.com/PUBID?rel=publisher" rel="publisher">Google Page</a>

Passed HTML5 validation!

Upvotes: 0

Related Questions