Epic Creative
LibraryInsightsAbout
Search/
© 2026 Epic Creative
AboutLibraryInsights
Digital & SEO

How to Add Open Graph Meta Tags

Learn how to add Open Graph meta tags, choose useful social titles and images, avoid duplicate markup and test how your website links appear when shared.

19 Aug 20269 min read1,912 words
In this guide
  1. Plan what a shared link should communicate
  2. Understand the four core Open Graph properties
  3. Use page-specific titles and descriptions
  4. Select a relevant and legitimately usable social image
  5. Keep image hosting reliable and inspect access
  6. Set a coherent preferred URL
  7. Use one reliable metadata generator
  8. Separate social metadata from search optimisation
  9. Test the real deployed page and relevant services
  10. Include Open Graph checks in routine publishing
  11. Practical conclusion for small teams
  12. Comparison: five social-preview implementation decisions
  13. Frequently asked questions

When somebody shares a link to a business website, the preview may be the only information the recipient sees before deciding whether to open it. Without clear metadata, a sharing platform can choose an unrelated picture, a generic page title or a fragment of text that fails to explain the destination. Open Graph tags are a practical way to describe the page for systems that build link previews. They are not a promise that every social network will display the same layout, nor a substitute for worthwhile page content. For a small business or agency, a reliable approach combines accurate page-specific copy, an appropriate accessible image, technically correct meta tags and testing of the actual published address.

Web development workspace illustrating implementation and review of social sharing metadata
Illustrative website development workplace by Ralph Giles / Wikimedia Commons, 24 October 2014, CC BY 2.0, reproduced without alteration. Not a screenshot of a platform's link-preview interface.

Plan what a shared link should communicate

Imagine someone receives a URL without a surrounding message. They should still be able to identify the topic and understand why the destination might be worth opening. A guide about local SEO needs a different preview from a specific service offering or a time-limited event. Write a concise title and description that represent the real page, not a generic statement about the company. Avoid claims that are stronger than the destination can support. A polished preview that promises a service, saving or answer absent from the linked content creates disappointment rather than trust.

Ask which pages customers actually share. A local business may see its contact page shared as a referral, while a professional firm may find articles circulated among clients and colleagues. Prioritise accurate previews on those useful destinations instead of demanding a complex unique image for every minor administrative URL. The goal is a stable publishing process that supports real communication rather than an ever-growing list of tags to satisfy an audit tool.

Understand the four core Open Graph properties

The Open Graph protocol identifies four required properties: og:title, og:type, og:image and og:url. The title describes the object, type indicates the kind of resource, image points to a representative graphic and URL identifies its preferred address. The specification also supports optional og:description, which is commonly used to give a short contextual summary. These properties are supplied as meta elements in the HTML head, not paragraphs in the visible article body.

For an ordinary website page, the appropriate type depends on how the object is being represented. An article has different context from a website home page, while specialised types may require further properties. Avoid copying a complex type definition from an unrelated example. The protocol defines vocabulary; individual sharing platforms decide how they use that vocabulary in previews. Provide consistent, accurate properties and test on the platforms the business actually relies on.

Use page-specific titles and descriptions

A sitewide default can be useful for pages without a custom social summary, but it should not replace thoughtful descriptions of important content. Suppose an accountant publishes a guide about new-client bookkeeping information. The shared preview should indicate that specific guide rather than repeat the practice's general homepage slogan. The reader needs to understand the value of opening the link. A clear title can be closely related to the page's H1 without needing to use exactly the same wording.

Descriptions should summarise what a visitor will find. They are not a location for keyword stuffing or guaranteed search performance. Treat character limits as platform-dependent practical constraints, not a universal rule that can never change. Test longer titles on actual target platforms and trim ambiguous or repetitive wording where necessary. Do not imply that the description will always be shown exactly as authored: platforms may crop or select content differently. Maintain semantic alignment between the preview and the destination, especially after major page rewrites.

Select a relevant and legitimately usable social image

The og:image property should identify an image that represents the linked page and can be retrieved by the sharing service. A relevant service photograph, product image or useful editorial illustration is usually more meaningful than a generic logo on every URL. Make sure the business owns or has appropriate rights to use the image, including any necessary licence compliance or attribution. An online photograph's accessibility does not automatically establish permission to reuse it commercially.

Social previews can be cropped or resized, so place important subject matter where it can survive common aspect ratios. Avoid very small text that becomes unreadable in a compact message card. The Open Graph protocol supports additional image properties, including dimensions, type and alternative text, to communicate more about the asset. Provide og:image:alt where appropriate as a genuine description of the visual content rather than a list of keywords. An image that looks impressive in a wide website hero might be a poor fit for a narrow mobile preview; preview testing must inform the choice.

Keep image hosting reliable and inspect access

A correct og:image URL is not enough if the asset returns an error, requires a login or blocks the platform's fetcher. Use a stable publicly accessible image URL and verify the actual response. A content delivery network or image-transform service may change asset paths or cache behaviour. Confirm that the shared page and its representative image remain available after a site migration. If a business changes a social image, inspect whether the new URL is reflected in the page source and whether the platform can retrieve the updated asset.

Not all platforms refresh previews immediately. Some cache old images and metadata for a period, and their tools may allow a request to recrawl a page. That behaviour belongs to the platform and can change. Avoid telling a client that a newly deployed image is instantly visible to every recipient. Record the exact URL, platform, observed result and test time so that a cached image can be distinguished from incorrect page HTML. The social preview is an external rendering, not just a web design component the business controls directly.

Set a coherent preferred URL

The og:url property should identify the stable address intended to represent the page, commonly aligned with the website's preferred canonical URL. Avoid hardcoding the homepage as og:url across unrelated articles. Also avoid accidentally emitting staging-domain URLs from a development environment. An absolute HTTPS URL is usually appropriate for a production website. The value should correspond to the page being shared and the business's actual domain strategy.

Open Graph URL and SEO canonical URL serve different systems, but their purposes can overlap. A business that consolidates URLs should review both after changing the content structure. If an old address permanently redirects to a new one, links and social metadata should ordinarily use the final current address. Keep internal navigation, social share buttons and the page's metadata aligned to reduce confusing previews or fragmented reporting. A technically valid og:url pointing to the wrong object is not a successful implementation.

Use one reliable metadata generator

On a small static website, an editor might manage Open Graph meta elements in a shared page template. On a WordPress or other CMS site, a theme or SEO extension may already output them. Installing another extension without inspecting existing HTML can create duplicate and contradictory properties. A platform may then choose values unexpectedly or render different results on different services. Before adding a plugin, identify which system currently produces titles, descriptions, images and URLs.

Define sensible defaults for pages that do not require a dedicated preview, then provide controlled overrides for important services and articles. The best setup makes responsibility clear: a content editor knows where to approve the image and social wording, while a developer can troubleshoot how the information appears in the published head. Keep the component aligned with updates to page titles and featured images. Do not maintain two independent sources of truth when a single approved content record can generate the necessary fields.

Separate social metadata from search optimisation

The HTML title element, meta description, visible H1 and Open Graph title all describe related aspects of a page, but they are not identical technologies. Search engines may generate their own search-result snippets while social services build link cards from metadata. The page's SEO title should communicate the destination in search; social wording may be adapted for a shared message. The adaptation should not change the underlying facts or promise something the page lacks.

Open Graph tags are not a replacement for sound technical SEO, helpful content or accessible navigation. Adding og:title does not fix broken canonical signals, and a beautiful social image does not improve slow server responses. Evaluate social-preview work against the website's actual communication needs. It may be highly worthwhile for a business that receives warm referrals through messaging, even if its direct search-ranking effect cannot be established. Treat it as an accurate presentation and distribution feature, not a guaranteed ranking lever.

Test the real deployed page and relevant services

Inspect production HTML and verify the expected meta properties, their values and the number of times they appear. Test the exact page address rather than a preview URL or staging copy. Make sure the specified image loads without authentication and the text represents the current page. Where possible, use official preview or debugging tools provided by important platforms, recognising that each may cache information and render cards differently.

Document mismatches: a platform may show an old image even though the live HTML has changed, or the HTML may still emit a sitewide default because the editor's override did not save. Those problems require different fixes. Record whether the asset returned successfully, whether the page source was correct and whether the platform's cached representation updated. Do not mark a metadata check complete merely because a single service generated some preview image. A useful QA record distinguishes production code from the platform-controlled presentation.

Include Open Graph checks in routine publishing

Before launching a high-value page, confirm the page's purpose, social title, description, image rights and URL. Test that it loads and that the preview accurately represents the content. After a redesign or URL migration, check for stale domain values and missing image assets. For evergreen articles, revisit social copy when substantive content is revised. If a policy or offer has expired, the preview should not continue making the old promise.

Keep the process proportionate. A small company does not need an elaborate image-design programme for every URL, but it benefits from knowing which pages are frequently shared and ensuring they look credible. Assign one editor to approve the message and one technical owner to maintain the template. This reduces the chance that metadata becomes a hidden part of the website that nobody notices until a customer shares a broken preview.

Practical conclusion for small teams

Begin with accurate core Open Graph properties on the most important pages. Select a relevant permitted image and write a title and description that make sense when seen out of context. Let the CMS generate consistent output, avoid duplicate plugins and test the real shared address on relevant services. If an image or title changes, document what was deployed and what the external platform actually displayed. The result is not a guaranteed amount of new traffic, but a more reliable and honest representation of the page when customers and colleagues share it.

Source A: The Open Graph protocol specification for properties and image metadata. Source B: Meta Sharing Debugger, a platform-specific inspection tool; its output and availability are controlled by the platform. Neither source guarantees that every sharing application uses identical previews.

Comparison: five social-preview implementation decisions

ElementCommon failureVerified editorial or technical approach
og:titleGeneric company slogan on every article.Specific accurate title describing the individual page.
og:descriptionUnrelated or outdated promotional text.Concise factual summary consistent with the destination.
og:imageBroken, inaccessible or improperly licensed image.Relevant permitted public image tested for actual retrieval.
og:urlStaging domain or homepage set on all pages.Stable preferred production address for that content.
Template and platform testingConflicting plugin output and a stale cached preview.One controlled generator, production HTML check and platform-specific preview test.

Source A: The Open Graph protocol defines the core metadata. Source B: Meta Sharing Debugger illustrates platform-level verification. The five-row process comparison is original agency guidance, not a standardised promise of identical previews across services.

Frequently asked questions

Which Open Graph tags are the core ones?

The protocol identifies og:title, og:type, og:image and og:url as core properties. A relevant og:description is commonly useful for shared previews as an additional property.

Does Open Graph replace a Google SEO title?

No. Social metadata and search metadata support different presentation contexts. Their wording should remain consistent with the page, but they are not interchangeable mechanisms.

Why is an old image still shown after I update the tag?

Sharing platforms can cache preview data. First confirm the current production HTML and image URL, then use the relevant platform's refresh or debugging tools where available.

Can any image found online become an og:image?

No. The business needs appropriate rights to use the asset, and the image must be relevant and publicly accessible to the platform. Check the actual licence and any required attribution.

How should a WordPress website avoid duplicate Open Graph tags?

Inspect what the active theme, SEO plugins and social integrations already output. Select one reliable generator and test representative live pages after configuration changes rather than installing overlapping tools.

PreviousHow to Add FAQ Structured DataNextAdd Structured Data to WordPress

More from Digital & SEO

View all →
3 min read

How to Prioritise SEO Content Refreshes for Small Business Sites

8 min read

How Small SEO Agencies Can Triage Technical Audit Findings

8 min read

A Practical Keyword Mapping Review for Small SEO Agencies

7 min read

A Practical Local SEO Client Intake Process for Small Agencies