Yoast SEO
[resolved] A minor error in W3C (4 posts)

  1. JeanJensenDK
    Posted 3 years ago #

    Where do I edit this?


    Error Line 22, Column 80: Bad value publisher for attribute rel on element link: The string publisher is not a registered keyword or absolute URL.
    <link rel="publisher" href="https://plus.google.com/u/0/103614396450430161474"/>
    Syntax of link type valid for <link>:
    A whitespace-separated list of link types listed as allowed on <link> in the HTML specification or listed as an allowed on <link> on the Microformats wiki without duplicate keywords in the list. You can register link types on the Microformats wiki yourself.


  2. jrf
    Posted 3 years ago #

    You shouldn't edit this.

    Even though the Microformats Wiki says it has been dropped and the official HTML4 specs did drop it, it is the rel tag Google looks for to display you as the publisher of a post/page.

    As this plugin is about SEO, Google rules.

    Please mark this topic as resolved.

  3. JeanJensenDK
    Posted 3 years ago #

    Okay, thanks.

  4. David Klhufek
    Posted 3 years ago #

    Anyway, there is a possibility to go ahead..

    if(substr($_SERVER['HTTP_USER_AGENT'], 0, 13) != 'W3C_Validator'){
      echo '<link href="https://plus.google.com/YOUR_SITE_ID/" rel="publisher" />';

    source link: http://ianjgough.com/blog/google/valid-google-publisher/

    ...hope this can be implemented to plugin.))

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Yoast SEO
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.