Beginner's Guide for WordPress - Start your WordPress Blog in minutes.
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

How to Get Google’s Verified Authorship for your WordPress Blog

Last updated on by
Follow WPBeginner on YouTube
How to Get Google’s Verified Authorship for your WordPress Blog

Everyone is talking about how the search is going social. Google +1 buttons are now integrated in websites, search results, and even in Google Ads. Well all that is important, but we are now seeing a rise in verified Authorship for Google search results.

Update (August 28, 2014): Google has announced that they’re killing Authorship, and search results will no longer show author names or photos.

Finally with the new redesign, we have added it in WPBeginner as well. Now when you search our articles, you will see the picture of our founder Syed Balkhi in the results like the screenshot below:

Google's Verified Authorship Results

We heard folks claiming that this is increasing click through rates and sometimes rankings as well. In this article, we will show you how you can get google’s verified authorship for your WordPress blog.

You need to add the following code in your theme’s <head> section. (Don’t forget to change the Google+ profile URL to yours). Normally you can do this by editing the header.php file

<link rel="author" href="https://plus.google.com/101623299936375408403/posts" />

If you are using a theme framework or just want to put this in as a function, then you can add this by hooking into wp_head(). Paste the following code in your theme’s functions.php file.

add_action('wp_head', 'add_google_rel_author');
function add_google_rel_author() {
echo '<link rel="author" href="https://plus.google.com/101623299936375408403/posts" />';
}

Next thing you need to do is go to your Google+ profile, and add link to your website under the contributors section.

Add Website to Google+ Contributor Section

Lastly, make sure that your +1’s are public on your Google+ profile or this won’t work.

Now you are done. Simply wait for Google to re-crawl your pages and show your face next to it. You can check to see if you did everything right by going to the Google Webmasters Rich Snippets Testing Tool. Below is a screenshot of what it should look like.

Google Rich Snippet Testing Tool Preview

This trick would work great for sites with individual authors. If you are running a multi-author blog, then you would have to be a little more nifty. You can add an additional user profile field for Google+. Then run a conditional statement in the header area to see who is the author, and display the appropriate URL. Yoast’s WordPress SEO plugin will now includes this feature in the newest version.


Editorial Staff at WPBeginner is a team of WordPress lovers led by Syed Balkhi. Page maintained by Syed Balkhi.

WPBeginner's Video Icon
Our HD-Quality tutorial videos for WordPress Beginners will teach you how to use WordPress to create and manage your own website in about an hour. Get started now »
  • http://www.wpbeginner.com/ WPBeginner Staff

    Google has decided not to display author profiles next to search results anymore.

  • http://www.wpbeginner.com/ Syed Balkhi

    You should still display it because G+ is a social network.

  • http://www.mixedniches.com #Reality

    Hi,
    Thanks for the post first of all. My problem is that when I tried to check my website in the Snippets testing tool, it said something like,”The server at http://www.example.com took too much time to load”etc.. I have no idea what to do and any help would be appreciated, thanks.

  • Ankit Bansal

    Hi Guys,

    Thanks for the post. Getting authorship in three simple steps. I got it right away and i love WPBeginner. This blog is awesome.

  • Robert Urban

    Great post- Couple of questions.

    I have content on various sites throughout the internet. I do a lot of guest blogging and am a published author. Can I show Google somehow that I am the author in all these various websites and different places in order to gain authority?

    Does author authority effect SEO at all- For example, if I wrote something on a new blog will it show higher in the SERPs because I wrote it ( or insert someone with strong authority), regardless of the websites relevance?

    • http://www.wpbeginner.com/ WPBeginner Support

      Robert, from SEO point of view author authority is only one of the factors considered by Google when listing their results. Search engines use hundreds of matrices to determine which result would go on top. You will see results on Google where sometimes authors with far less authority are out ranking authors who are experts in the field. We would suggest that you concentrate on creating quality content.

      As for getting authorship credit from other sites you will ask them to add a rel=”author” tag to a link pointing to your Google+ profile in the author bio section.

  • jagdish tiwari

    THanks For the Info.I am Getting following message on webmaster rich snippets tools for my website
    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.

    What to do??

  • bharathi

    Hi Thanks for making this easy. Please tell why am I getting this in rich snippet link

    Error: Missing required field “updated”.
    Error: Missing required hCard “author”.

    thanks !

  • Ashu

    I have done all these steps twice but google does not show the author information. You can also check of my website.
    please help me what to do?

  • Simpliweb

    Thanks for this Verified Authorship implementation tip. I will try it right away.
    Do you actually know how and when Google decide to accept your request ?! seems a little bit foggy to me ! (excuse my French …) have a nice day ! :)

  • Dule

    Hi,

    I have an issue with google+ not appearing in the widget I have installed. I have tried everything but it is still blank. If you check the widget in the sidebar, google+ is not working, and I passed the code from my page to the widget but no luck. http://goodmood-gm.com/
    Any ideas?

    Tnx

  • Santosh

    This helps a lot but I cannot see its working on Google search. Do I have to wait for some day, week or month ? Generally how long does it take to get success.

    • http://www.wpbeginner.com/ WPBeginner Support

      Santosh Google has limited the showing of author profile image in search results so you may not be able to see it in action right away or for quite sometime.

  • Martha Marks

    I’d like to do this, but I am pretty close to a beginner… not sure where to go to find the header.php mentioned here:

    “You need to add the following code in your theme’s section. (Don’t forget to change the Google+ profile URL to yours). Normally you can do this by editing the header.php file”

    Can somebody tell me where to find this php file? Thanks!

    • http://www.wpbeginner.com/ WPBeginner Support

      Usually it is among your theme files and can be accessed from Appearance » Theme Editor

      • Somsubhro Chatterjee

        But I do not have any such option. I have a free blog(xyzsite@wordperss.com) and I haven’t found the option. The options under Appearance are Themes, Customize, Widgets, Menus, Theme Options, Header, Background, Custom Design and Mobile. I can’t find the header.php file from anywhere under the “Appearance” tab. Please help!!!

  • Clara

    I’ve read many tutorials on how to get this done and yours was the only one that actually helped me accomplish it. Thank you!

  • Yash Bhatia

    I run a multi-author website. How can I go about getting verified Google authorship for each one of the writers? Is it necessary for all of them to have a Google+ account?