Skip to main content
GoogleHints & TipsSearch Engine Optimisation (SEO)

Google authorship in the code

By September 19, 2013One Comment

It goes without saying that we love Google Authorship, and the snippets produced by having it set up.

If you don’t know what I’m talking about, here’s all you need to know in one photo:Google authorship in the code - Mahoney Web Marketing

Having this set up grabs peoples’ attention.

Part of the process of setting these up is to have a link on your pages back to your Google Plus profile. All the guidance from Google, and therefore most online sources, is to have an icon or short piece of text that links to your profile.

Not everyone wants to link to their Google+ page. And for good reason; a lot of website authors only have G+ accounts for the sake of getting these authorship snippets working. They certainly don’t want to drive visitors to a social profile they aren’t actively using.

Here’s a solution I worked out myself. As far as I know, I’m the first to be publishing this.

Simply drop this code into your website, anywhere at all. It doesn’t display anything on the site—it just sits in the code, but works 100% as a Google Author link.

<a href=”your-profile-url?rel=author” />

So for example mine is:

<a href=”” />

It’s that simple!


Author Peter

More posts by Peter

Join the discussion One Comment

  • Daniel says:

    Do you know if it’s already available for google pages?
    When you check the snippets tool, it *does* appear with the avatar of the page, but then it doesn’t on the search results!

Leave a Reply