Add rel = "author" and rel = "me" in WordPress • WordPress Help

In case you did not know, Google has long since included a form of customize search results assign authorships to publications, tags HTML rel = "author" and rel = "me" .

Using these tags in your publications will show some ' snippets 'from Google more attractive than, in addition to improve your branding in the network will attract more attention in the list of results than if they did not, and consequently you will have more clicks towards your publications

By the way, by taking the URL your authorship, is also a preventive way to avoid (although some do not care) content theft.

Sufficient reasons ?, then we will add these tags to WordPress …

It's a few steps, but it's worth it:

1. Create a profile on Google+

Even if you do not like the new social network Google Plus, only SEO is worth it, so go to and create a profile. Then you go to your profile page and click on "Edit profile". On the right you will see a box called "Other profiles", click and add the name and URL of your author page on the blog.

This step, like the following one – which is related – is not Clear that it is essential (not even Google makes it clear), it is not over, so do it and period, not too late.

2. Add the URL of your Google+ profile to your author page in WordPress

It seems that Google, although it is not clear if it is mandatory, wants links to your Google+ profile. So let's do it, we have 3 ways:

  1. With plugin : Install the plugin Easy rel author plugin which adds one more field to the user profile page, in which to include the URL of Google+ and then it will be displayed on the author's page
  2. With ñapa : If you do not want to install the plugin you can do something as simple as, in the user's Web field, put the one of your Google profile plus instead of your blog or similar.
  3. With function : I already explained how fields are added or removed from the user profile , but here you have it simplified and adapted. Just add this code to the file functions.php or to your function plugin. You get the same as with the previous plugin:

3. Link to your Google+ profile by adding rel = "me"

Whenever you link to your Google+ profile, add tag rel = "me" . For example:

It does not matter if it is from an icon added in your sidebar or in an entry, always add the tag rel = "me"

Another possibility is a blogroll link or a personalized menu, in both cases you should add the link relationship XFN, and indicate in the field to the effect "me".

Finally, another great place to add the rel = "me" in a link to your Google profile is in your file humans.txt which Google recognizes as valid for these purposes.

4. Link to your WordPres author page by adding rel = "author"

Similarly, whenever there is a link to your author page in your active topic, add the tag rel = "author" . For it you must modify (and if you use it you add it) to the link to the profile of the author of the entry – normally in 'single.php' or 'index.php' – the tag in this way:

5. Link to your Google+ profile on the author or other page

On the author page, usually author.php you have to add a code to show the link to your Google + profile, this :

You can also add a box with your profile, and link to your profile on Google+, using the plugin rel = author which adds it automatically.

6. Check that it works

You just have to check that everything went well, and if you do not want to wait for Google to update the snippets of your publications, you can test if you've done well in the verification tool "Rich snippets" from Google . Simply type the URL of an entry on your site, or your author page, and you should see the image of your Google+ profile next to the snippet.

By the way, if you are missing something, this tool will tell you the errors and what you have to do to fix it.

If all the above seems too messy you can try the plugin Googleplus author connect which promises to get these beautiful snippets just by installing and activating it.


NOTICE : this publication is from two years ago or more. If it's a code or a plugin it might not work in the latest versions of WordPress, and if it's a news story it might be obsolete. Then do not say we have not warned you.

Loading …

That may also help you: