Add WordPress Open Graph Meta Tags

How to Add WordPress Open Graph Meta Tags (The Easy Way)

Looking for a simple tutorial to add WordPress Open Graph meta tags to your site?

Open Graph is how Facebook handles metadata when you share your post or page on Facebook posts. It’s how Facebook automatically fetches the featured image and meta description just from the URL.

But adding it manually to your site can be a real pain.

For one thing, you’ll have to learn how Open Graph structured data is written. Then, you’d have to insert it into your WordPress theme files. And that’s super risky. You’ll have to edit files that help your entire site run properly. A single line out of place could crash your entire site.

In this article, we’re going to add WordPress Open Graph meta tags the easy way with zero coding involved.

Let’s dive in.

Step #1: Install All in One SEO

All in One SEO is the #1 WordPress SEO plugin in the world. It’s the perfect plugin to add WordPress Open Graph meta tags to your site without any coding.

All in One SEO

All in One SEO (AIOSEO) is one of the most acclaimed SEO plugins in the WordPress community. The original version was completely revamped to add a ton of new features and addons. So, if you used AIOSEO in the past you need to check out the plugin once again.

Not only is AIOSEO powerful enough to implement the latest SEO best practices, but you also get advanced options to resolve specific SEO issues straight out of the box. This includes:

  • Local SEO modules for small businesses with a local audience
  • WooCommerce SEO for online stores
  • An SEO optimizer inside your WordPress editor
  • Smart Sitemaps for instant indexing on Search Engines
  • A Schema plugin to get your content to rank in the Rich Snippets

And a lot more! For a full list of All in One SEO’s features, check out our review of the plugin.

The first thing you need to do is install and activate the All in One SEO plugin. If you’re not sure how to do that, you should check out this guide on how to install WordPress plugins.

After you download and install the plugin, you get a Setup Wizard:

All in One SEO setup wizard

And the setup process will take less than 10 minutes.

But what if you’re migrating from another SEO plugin? Every plugin handles metadata differently. So, do you have to do everything from scratch? Is all your previous effort wasted?

No! If All in One SEO detects another SEO plugin during the Setup Wizard, it’ll offer to copy over the basic settings for you:

All in One SEO import plugin

At the end of the setup, the Setup Wizard will prompt you to deactivate your old SEO plugin as well. This way, there are no plugin conflicts and errors:

Deactivate conflicting SEO plugins

Clicking on Fix Now won’t delete the settings in your old SEO plugin. It just deactivates the plugin to prevent conflicts.

Step #2: Configure Social Media Settings

In your WordPress dashboard, go to All in One SEO » Social Networks » Social Profiles and add your social profiles to the site:

Save Social Media Profiles in AIOSEO

This step ensures that Search Engines such as Google and Bing know what social media profiles are associated with your site. At the same time, this helps you with your social media sharing settings as well. That’s up next.

Step #3: Edit Facebook General Settings

Go to All in One SEO » Social Networks and click on the Facebook tab. Here, you can configure your General Facebook Settings:

General Facebook Settings AIOSEO

Toggle the Enable Open Graph Markup switch to activate it.

Here, you can set the Default Post Image Source and a Default Post Facebook Image:

WordPress Open Graph Default Image Source

We recommend using the Featured Image option as the image source for your posts. But should check out the other options as well:

Image Source Options in AIOSEO

You can set the default Facebook image to be your logo or anything that represents your brand. Click on the Upload or Select Image button to change the default image. In our example, we’re using a personal brand. So, the default Facebook image is a photo of the author.

Once you’re done, hit the Save button.

And that’s it! You’re done. Once you save the changes, you can try sharing a post on your site to your Facebook page or profile.

What to do After You Add WordPress Open Graph Meta Tags

That’s all for this one, folks!

Next, you should start thinking of multiple ways to engage and convert the traffic you bring in from your social media accounts. A great way to do that is to use push notifications. Push notifications can be a powerful marketing tool to bring in traffic, engagement, and direct sales for your business.

If you’re not 100% convinced, you should check out these resources on how to effectively use push notifications:

We recommend using PushEngage to create your push notification campaigns. PushEngage is the #1 push notification software in the world. So, if you haven’t already, get started with PushEngage today!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Engage and Retain Visitors AfterThey’ve Left Your Website

Increase the value of every web visit with Push Notifications that are hard to miss.

  • Forever Free Plan
  • Easy Setup
  • 5 Star Support