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.
Давайте начнем.
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 (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.
AIOSEO не только достаточно мощный, чтобы внедрять последние лучшие практики SEO, но вы также получаете расширенные опции для решения конкретных проблем SEO прямо из коробки. Это включает:
- Модули локального SEO для малого бизнеса с местной аудиторией
- SEO для WooCommerce для интернет-магазинов
- SEO-оптимизатор внутри вашего редактора WordPress
- Умные карты сайта для мгновенной индексации в поисковых системах
- Плагин Schema, чтобы ваш контент ранжировался в расширенных сниппетах
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:

А процесс настройки займет менее 10 минут.
Но что, если вы переходите с другого SEO-плагина? Каждый плагин по-разному обрабатывает метаданные. Значит ли это, что вам придется делать все с нуля? Все ли ваши предыдущие усилия пропали даром?
Нет! Если All in One SEO обнаружит другой SEO-плагин во время мастера настройки, он предложит скопировать основные настройки для вас:

В конце настройки мастер настройки предложит вам деактивировать ваш старый SEO-плагин. Таким образом, не будет конфликтов плагинов и ошибок:

Нажатие кнопки Исправить сейчас не удалит настройки вашего старого SEO-плагина. Оно просто деактивирует плагин, чтобы предотвратить конфликты.
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:

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:

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:

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

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
На этом всё, друзья!
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.
Если вы не на 100% убеждены, ознакомьтесь с этими ресурсами о том, как эффективно использовать push-уведомления:
- 7 умных стратегий для повышения вовлеченности клиентов
- Эффективны ли push-уведомления? 7 статистических данных + 3 совета экспертов
- Как настроить push-уведомления о брошенной корзине (простое руководство)
- Как добавить плагин веб-уведомлений WordPress на ваш сайт
Мы рекомендуем использовать PushEngage для создания ваших кампаний push-уведомлений. PushEngage — это программное обеспечение для push-уведомлений №1 в мире. Так что, если вы еще этого не сделали, начните использовать PushEngage сегодня!
