Yoast SEO
[resolved] Authorship showing on domain homepage (2 posts)

  1. whiteweazel21
    Posted 2 years ago #


    I recently set up authorship a couple days ago. I was glad it worked, I had an authorship image show up on my post in less than a week.

    I ran a google site search for my domain today, and was surprised to find the homepage had my image, along with "by author".

    It seems like I should have set authorship for domain.com/blog versus the root domain? I also had author archives disabled, which I believe routes the author link to the homepage. I enabled the archives, so I do have my author page back up.

    When I check with Google's "Structured Data Testing Tool", the domain still get authorship. I changed my contribution link on Google+ to domain.com/blog as well, no luck.

    Any help or suggestion please? I don't want to get penalized for this.


  2. whiteweazel21
    Posted 2 years ago #

    Ok, I figured this out.

    In Titles & Meta, Post Types, set Don't show rel="author for Pages.

    This still shows authorship on the main homepage. Thanks to "Daniel K" for the solution, http://wordpress.org/support/topic/plugin-wordpress-seo-by-yoast-author-meta-data-on-home-page-always-displayed?replies=13

    We also had this problem and I fixed it with just one single line of code!

    You should edit wordpress/wp-content/plugins/wordpress-seo/frontend/class-frontend.php and change line 736 from

    if ( $gplus )


    if ( !is_front_page() && $gplus )

    Authorship doesn't show for homepage. So now my publisher/google+ business page shows for home page & pages. Blog page & posts show correct authorship to my google+ page.

    If this helped, please follow me on google+ : )

Topic Closed

This topic has been closed to new replies.

About this Plugin

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

About this Topic