Site SEO AI Auditمن Internet Solutions

Open Graph Tags: How to Control Link Previews Everywhere

22 سبتمبر 2026وقت القراءة: 8 دSEO التقني
Open Graph Tags: How to Control Link Previews Everywhere

Short answer: Open Graph tags are meta tags in a page’s head that tell social networks, messengers and many other apps what title, description and image to show when someone shares the link. Every page should have og:title, og:description, og:image and og:url, with a share image of about 1200 × 630 pixels referenced by an absolute HTTPS URL. They do not affect Google rankings directly, but they strongly influence clicks from shared links.

What Open Graph is

The Open Graph protocol was introduced by Facebook and is now read by most platforms that show link previews: social networks, business chat tools, messaging apps and many content aggregators. When a link is pasted, the platform fetches the page, reads the Open Graph tags and builds a preview card. The specification is published at ogp.me.

Without Open Graph tags, platforms guess. They may use the HTML title, the first paragraph and a random image from the page, often the logo, an icon or a tracking pixel. The result is a poor preview that fewer people click.

Links travel far beyond social networks. They are pasted into team chats, e-mails, community forums, customer support replies and messaging apps, and almost all of these show a preview. For a small business, a well-formed preview on a link a customer forwards to a colleague can matter as much as a social post. That makes Open Graph one of the most widely used pieces of page metadata, even though it rarely gets as much attention as titles and descriptions for search. Setting it up correctly once, in the templates, means every new page gets a good preview automatically.

The tags every page needs

<meta property="og:title" content="How to Fix a Slow LCP">
<meta property="og:description" content="Find the LCP element, split the time and fix the slowest part.">
<meta property="og:image" content="https://www.example.com/images/lcp-guide-share.png">
<meta property="og:url" content="https://www.example.com/fix-lcp/">
<meta property="og:type" content="article">
<meta property="og:site_name" content="Example">
Tag Purpose Tips
og:title Headline of the preview Can differ from the SEO title; keep it short and clear
og:description Text under the headline One or two sentences; often the meta description
og:image Preview image Absolute HTTPS URL, about 1200 × 630 px
og:url Canonical address of the page Match the canonical URL
og:type Kind of content website for most pages, article for posts
og:site_name Brand name Same on every page

Some platforms also read their own tags, for example twitter:card with the value summary_large_image to request a large image card. When platform-specific tags are missing, most fall back to Open Graph.

Share images that work

The image does most of the work in a preview. Practical guidelines:

Optional tags og:image:width, og:image:height and og:image:alt help some platforms render the image immediately and describe it for accessibility.

Does Open Graph affect SEO?

Google does not use Open Graph tags as a ranking signal, and its search results use their own title and snippet logic. But Open Graph matters for search-related outcomes in indirect ways:

It is best treated as part of a page’s technical metadata, next to the title, meta description, canonical and structured data.

Setting it up on WordPress and other platforms

Why previews show the wrong content

Platforms cache previews, sometimes for a long time. After fixing tags, use the platform’s sharing debugger to refresh the cached version. Messaging apps may only update when the link is shared again later.

Writing preview text that gets clicked

The technical setup gets a preview to appear; the words decide whether anyone clicks it. A few habits help:

Open Graph for different page types

Different templates need slightly different treatment:

A sensible default image for pages without their own prevents the worst case, where platforms pick a random icon.

How to check Open Graph tags

  1. View the page source and search for og:. Confirm each tag appears once with the right values.
  2. Open the og:image URL directly in a private browser window to confirm it loads.
  3. Test the URL in the sharing or post inspector tools that major platforms provide.
  4. Check a few templates: home, article, product, category and contact pages.
  5. Crawl the site to find pages with missing, duplicated or broken Open Graph tags at scale.

How Site SEO AI Audit checks Open Graph

The structured data area of the audit checks Open Graph tags and share images on every page, next to Schema.org markup and invalid JSON-LD. Pages with missing tags or missing share images are listed and weighted by how many pages they affect, so a template that outputs no Open Graph data stands out immediately. WordPress sites get the steps to fix it in the SEO plugin. You can run a free audit.

Related reading

The bottom line

Open Graph tags decide what people see when your links are shared. Give every page a clear og:title, og:description, og:url and a page-specific share image of about 1200 × 630 pixels on an absolute HTTPS URL, output them from one source only, and refresh cached previews after changes.

الأسئلة الشائعة

Are Open Graph tags a ranking factor?

No. Google does not use them to rank pages. They control how links look when shared on social networks and in messaging apps, which affects clicks from those places.

What size should an Open Graph image be?

About 1200 × 630 pixels, a 1.91:1 ratio, works well across major platforms. Keep important content away from the edges because some apps crop the image.

Why does my link preview show an old image?

Platforms cache previews. After updating the tags, use the platform’s sharing debugger or post inspector to fetch the page again and refresh the preview.

Do I need Twitter card tags as well?

Most platforms fall back to Open Graph, but adding twitter:card with summary_large_image ensures a large image card on X. Many SEO plugins output both automatically.

Can og:title differ from the page title?

Yes. The page title is written for search results, while og:title can be phrased for social sharing. Keep both accurate to the page content.

#Structured data#Technical SEO#WordPress SEO
افحص موقعك — مجانًا.كل مشكلة SEO في موقعك — وكيف تصلحها بالضبط.
ابدأ مجانًا

المزيد من المدونة

كل المقالات ←
Internet Solutions

المزيد من فريقنا

من تطوير Internet Solutions. جرّب بقية منتجاتنا — كل منها يوفّر وقتك بطريقة مختلفة.

internet-solutions.net ↗
01النشر التلقائي على وسائل التواصل
PostRSS

تنتقل المنشورات الجديدة من خلاصة RSS الخاصة بك تلقائيًا إلى Facebook وX وLinkedIn وTelegram وأكثر من 60 شبكة أخرى.

خطة مجانية · منذ 2014زيارة ←
02دردشة مباشرة بالذكاء الاصطناعي للمواقع
Talkmio

يجيب موقعك على الزوار على مدار الساعة من محتواك أنت وبلغتهم.

خطة مجانية · دون بطاقةزيارة ←
03مساعد بالذكاء الاصطناعي
Ask Mio

دردشة وبرمجة وتصميم وكتابة وبحث. يختار Mio أفضل نموذج لكل مهمة.

خطة مجانيةزيارة ←
04طيار آلي بالذكاء الاصطناعي للمدونة ووسائل التواصل
AI Blog Autopilot

يكتب الذكاء الاصطناعي مقالات SEO من 2000 إلى 3000 كلمة وينشر كل مقال على أكثر من 58 شبكة اجتماعية.

أول 3 مقالات مجانًازيارة ←
05فحص صحة الموقع
Site AI Audit

تحسين محركات البحث والسرعة وSSL والأمان وإعداد البريد الإلكتروني في تقرير واحد، مرتّبة حسب ما يجب إصلاحه أولًا.

أول تدقيق مجانيزيارة ←
06خلاصات RSS والمنتجات
RSS Feed Creator

أنشئ RSS من أي صفحة ويب، بالإضافة إلى خلاصات منتجات لـ Google وMeta تتحدّث تلقائيًا.

خطة مجانيةزيارة ←
07تطوير المواقع وتحسين محركات البحث
Internet Solutions

مواقع ومتاجر إلكترونية وأنظمة مخصّصة، يصمّمها فريقنا ويبنيها ويديرها.

منذ 2011زيارة ←
Site SEO AI Audit
نظرة عامة على الخصوصية

يستخدم هذا الموقع ملفات تعريف الارتباط حتى نتمكن من تقديم أفضل تجربة ممكنة لك. تُخزَّن معلومات ملفات تعريف الارتباط في متصفحك وتؤدي وظائف مثل التعرّف عليك عند عودتك إلى موقعنا ومساعدة فريقنا على فهم أقسام الموقع التي تجدها أكثر إثارة للاهتمام وفائدة.