WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
Author meta tag problem (1 post)

  1. quequiereshacer.es
    Member
    Posted 1 year ago #

    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/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 1 year ago by quequiereshacer.es
  • This topic is not resolved
  • WordPress version: 3.5.1