Linking your Google+ page to your WordPress-powered website is easy enough for a web developer, but now Yoast has made it even easier via his WordPress SEO plugin.
For a while, you’ve been able to add Facebook Open Graph meta data from the Social section of the SEO plugin, but now you can add code for Google+ and even Twitter too.
To link your Google+ page to your website, you must add this code to the <head> section of each page:
<link rel="publisher" href="https://plus.google.com/[google+id]" />
If you’ve already got the Yoast WordPress SEO plugin installed, you don’t have to manually update any code at all. From the WordPress Dashboard, navigate to SEO > Social > Google+ and enter your Google+ page URL and Save.
Always test it works
To check that you’ve successfully added the publisher code, use Google’s Structured Data Testing Tool – enter your website URL and hit Preview.
Handy Hint: If you have a Development or Staging Server and want to test out structured data before you go live, you can copy and paste the HTML for your page into the tool and make sure everything works first.
What else can you do?
- As I said at the beginning, Yoast’s plugin will help you add Open Graph meta data that can help sites like Facebook to understand your website better.
- As well as that, you can use the plugin to establish Google+ authorship.
- Finally, add your Twitter username and you’ll enable Twitter card meta data markup too!
Structured markup is the future
They said that “Content is King” and they’re right. But as Mark Boulton so rightly says – it’s the relationships between these things that are most important. Structured Data let’s us establish those relationships and explain our content – and our businesses – in a way that will make it easier for everyone to find exactly what they are looking for.