WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. JeanJensenDK
    Member
    Posted 11 months ago #

    Where do I edit this?

    http://korturl.dk/jm6

    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.

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. jrf
    Member
    Posted 11 months 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
    Member
    Posted 11 months ago #

    Okay, thanks.

  4. David Klhufek
    Member
    Posted 11 months 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.))

Reply

You must log in to post.

About this Plugin

About this Topic

Tags

No tags yet.