WordPress PLUGIN: Enable REL= and Other HTML in Author’s Field (for Google+ and Google Search Listings)

by John P.

Avatar in Google Search Results

Avatar in Google Search Results

Google is beginning to roll out the ability to have your Google Profile linked to search results. This is an awesome new feature that my friend Trey Ratcliff worked with them on setting up. Do a search for “HDR Tutorial” and you can see what I’m talking about.

In attempting to get this working with my various sites I quickly discovered that WordPress is stripping all of the REL= language from any Author field. In other words, you go into your USERS area and try and enter rel=”author” along with a link in one of the Author Bio areas, but WordPress leaves the link and removes the “REL=” part.

Now, it does this to try and protect you from users entering malicious code in their bio area. But if you have a blog where you implicitly trust all of your authors you might want to enable the ability for them to put in a link to their Google+ profile. For this reason I’m releasing a very simple plugin that will “fix the glitch”.

Allow REL= and HTML in Author Bios WordPress Plugin Download

You can download and manually install the plugin from the following link. Just drop it in your WordPress plugins directory and activate it:

Feel free to let me know if you encounter issues, but it should work with just about every version of WordPress still out there.

Have fun linking your Google Profiles to your search results! I can’t wait till there is widespread adoption of this as it will really assist with deciding whose link to follow!

EDIT: What to Do After Installing the Plugin

Since there have been a lot of questions about what you need to do after installing the plugin I’ll try and explain a little more of the process.

First, you need to go into your WORDPRESS ==> USERS area and edit your users Biographical Info areas to include a link to their Google profile. So, for example mine says:
<a href="https://plus.google.com/109938202835872364257/posts" rel="author">John's Google Profile</a>

Next, you need to go to your Google profile page and make sure that it has a link back to the domain that you are linking from. This ensures that the reference is circular. You claim to be that person… and that person claims to be writing on this blog.

Finally, you need to wait until Google enables this functionality for your site. It is in very, very, very limited release currently. I don’t know when it will be enabled for everyone, but if you aren’t seeing it yet I’d recommend leaving it and just waiting.

Hope that helps! And by the way, feel free to Circle me on Google+!


{ 22 comments… read them below or add one }

1 fas July 6, 2011 at 7:27 am

Nice plugin by Google plus is still in beta and not open to all.

Reply

2 Eoghann Irving July 6, 2011 at 7:48 pm

You can have a Google profile even if you’re not in Google+ yet.

Reply

3 bggotvach July 8, 2011 at 6:41 pm

Google has just released +1 button, which is now available for everyone and you can add it easily using a small fragment of JavaScript code on your site. Like twitter tweet button Facebookkato button, this is an additional button that uses recommendations from friends and contacts in your Google search results more skilled, coming Google.

Reply

4 Peter Charalambos July 25, 2011 at 5:29 pm

Thanks for the plugin info.
Can you help with the rel=me code that’s needed on my author page?
Google doesn’t make sense of it for me and I don’t have any ‘ologies’

This is the example they give but I just can’t relate it to my Google profile url which doesn’t have all those numbers in it……and what’s with the image src???…should that be a path to my image or a path to the G+ image?…..I’m going ga ga.

Would appreciate any help.
Peter

Reply

5 John P. August 2, 2011 at 9:19 pm

Peter,

The link you need to use is simply a link to your entire Google profile page. So, for example mine says:
<a href="https://plus.google.com/109938202835872364257/posts" rel="author">John's Google Profile</a>

Hope that helps.

John P.

Reply

6 Chetan July 26, 2011 at 12:08 am

Great initiative. So essentially I just paste my google profile in the biography space?

Reply

7 liz July 27, 2011 at 2:22 pm

I, too, want to know this. I installed the plugin, but what are the next steps. Thanks.

Reply

8 Chetan July 26, 2011 at 12:42 am

Also, what does this mean for the biography section? What will it show when it displays the profile from now on?

Reply

9 Jean Rose July 27, 2011 at 7:26 am

I installed and activated the plugin but I don’t see my picture in google when I search my url.

Reply

10 John P. August 2, 2011 at 9:22 pm

Jean,

Even if you install it correctly, you need to wait until Google enables this feature for everyone. So don’t uninstall it, but it may take a while before it shows up for you.

Cheers,

John P.

Reply

11 Linda August 3, 2011 at 7:55 am

Hi – I’ve followed your instructions carefully but when I checked in webmaster tools I’m still getting the following error “Error: Author profile page does not have a rel=me link to a Google Profile” Webmaster rich snippet tools ( http://www.google.com/webmasters/tools/richsnippets) allows you to check even if author has not been enabled for your site yet.

Reply

12 Linda Hartley August 3, 2011 at 11:27 am

Working now.Hurray!
The code for the author bio page needs to me rel=”me” NOT rel=”author” and there needs to be a link to the author page in your google profile links section.

Reply

13 Jason August 4, 2011 at 9:25 pm

Hi John,

installed the plugin, added the coding into the bio…but when i tried to verify using
google.com/wemasters/tool/richsnippets it mentions author profile page does nit have a rel=me link to a google profile

i’ve also changed it to rel=”me” as per the last comment but the same issue.

in my google plus profile, i’ve added the website about us and the home page

any thoughts?

jason

Reply

14 Rizqi Fahma August 5, 2011 at 11:32 pm

Hi John. I’ve also installed the plugins. But, I don’t understand how to successfully do it (enable google profile appear in google SERP). is there any other wp plugins to enable it easier? I don’t know much about script anyway.

Reply

15 Andy August 19, 2011 at 7:54 am

If you are using the rich snippets verification tool, make sure to include http:// on the front of the url. I have seen a few comments on sites now saying it won’t work properly if you just enter the url without this, and whilst I haven’t checked it myself I must have come across the same comments from different people on 5 or 6 sites now.

Reply

16 daniel Gerber August 21, 2011 at 4:54 am

Noticed this and it may help a few people who’ve found they’re not displaying in rich snippets.

The users>profile where you add the code only appears on my posts, NOT pages. Therefore if I use the rich snippets tool and direct to a page I get error reports and no author info displayed, but if I direct it to a URL of a post (which has my user info at the bottom) it’s there.

See if that helps!

Reply

17 Satu Hati Dua Jiwa August 29, 2011 at 1:32 pm

is it wrong, if i simplified all the nasty coding, and put the profile link code in my wp header section ?

i think the plugin will work just nicely, if the blog author are more than 1 person or if we put author bio below the post. cmiiw.

Reply

18 Isha Singh September 4, 2011 at 6:35 am

Not working in my blog. it seems something messed up.

Reply

19 Nans October 1, 2011 at 7:09 am

I don’t get it to work :-(
I have rel=me link on every page (footer)
I have a link to google+ on my author page (with rel=me)
I have a link back from my google profile page to my blog homepage AND to my author page..
And yet, the webmaster snipping test tells “Error: Author profile page does not have a rel=me link to a Google Profile” ..
Why are they making in so difficult? *sigh*

Reply

20 John October 19, 2011 at 1:27 am

Hi John,

My “linked author profile” and “google profile” on the “Rich Snippets” screen both show my Google+ address. Google tells me authorship markup is correct but everyone else has their blog as their “linked author profile.” How can I have my blog be my “linked author profile?” I’d love to hear from you.

Thank you.

Reply

21 Nikhil Phirke February 16, 2012 at 10:53 am

I am already using Weasel’s HTML bio plugin, but is there any other way to allow use of only rel tag without plugin? As I allow guest blogger to post onto my blog, I want to be safe.

Reply

22 Gaurang February 20, 2012 at 3:04 am

I m still unable to add it after installing the plug-in. Can you please tell me another procedure.

Reply

Leave a Comment

Previous post:

Next post: