Quantcast
Channel: WordPress.org Forums » All Posts
Viewing all articles
Browse latest Browse all 119548

quequiereshacer.es on "[Plugin: WordPress SEO by Yoast] Author meta tag problem"

$
0
0

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/


Viewing all articles
Browse latest Browse all 119548

Trending Articles