WordPress.org

Support

Support » Plugins and Hacks » Author meta tag problem

Author meta tag problem

  • WordPress version: 3.5.1.
    WordPress SEO version: 1.3.4.4

    Yesterday i noticed that Google stop to show the author information about my web site.

    After double check all related configuration about author all was ok but wordpress-seo didn’t show the author tag <link rel=”author” .. / > in the head of my web site source code.

    To get the author tag back to the code i have to edit the file /wp-content/plugins/wordpress-seo/frontend/class-frontend.php, search for author() function and replace the line 739-740.

    SEARCH:

    } else if ( $gplus ) {
    				echo '<link rel="author" href="' . $gplus . '"/>' . "\n";
    			}

    REPLACE WITH:

    if ( $gplus ) {
    				echo '<link rel="author" href="' . $gplus . '?rel=author"/>' . "\n";
    			}

    Expect to help others with the same problem.

    Best regards,

    Mario Pino
    http://www.quequiereshacer.es

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

  • The topic ‘Author meta tag problem’ is closed to new replies.