Tipog:url

Missing og:url

Your page has no og:url tag. It is one of the four properties the Open Graph spec marks required, and it is how platforms pool engagement across variants of the same URL.

What you are seeing: Share and reaction counts look lower than they should be, or the same page appears as several separate posts with counts split between them.

og:url is the page's canonical identity for social

The Open Graph protocol defines four required properties: og:title, og:type, og:image and og:url. og:url is the one people most often leave out, because unlike the other three it has no visible effect on the card.

Its job is identity. When someone shares your page, the platform stores engagement against the URL in og:url rather than the URL that was pasted. That is what lets a link shared with ?utm_source=newsletter, a link shared with a trailing slash, and a link shared from a mobile subdomain all count as the same page.

What happens without it

Each variant becomes a separate entity. Reaction and share counts split across them, and a page that has genuinely been shared widely reads as several lightly-shared pages. On Facebook this also means the two variants can hold different cached previews, so the same link looks different depending on which form someone shares.

What value to use

The absolute, canonical URL of the page — the same one you would put in rel=canonical, including scheme and host, with no tracking parameters and no session identifiers. Pick one form for trailing slashes and use it consistently.

Self-referencing is correct and expected: every page's og:url should point at itself. This is not a redirect and it will not send anyone anywhere.

Self-referencing, absolute, no parameters

<meta property="og:url" content="https://example.com/blog/open-graph" />

Frequently asked

Is og:url the same as rel=canonical?

They usually hold the same value but they are read by different consumers. rel=canonical tells search engines which URL to index; og:url tells social platforms which URL to attribute a share to. Search crawlers do not read og:url, and social crawlers do not read rel=canonical, so setting only one leaves the other audience guessing.

Should og:url include query parameters?

No. Strip tracking parameters and anything session-specific. The entire purpose of the tag is to collapse variants of a URL into one identity, which a parameter would defeat.

Fix it with AI

Paste this into Claude Code, Cursor, Copilot or another coding agent, from your project's folder.

Fix this social preview problem in this project.

Problem: Missing og:url
Tag: og:url
What people see: Share and reaction counts look lower than they should be, or the same page appears as several separate posts with counts split between them.
Background: Your page has no `og:url` tag. It is one of the four properties the Open Graph spec marks required, and it is how platforms pool engagement across variants of the same URL.

How to work:
1. Find where this project sets each page's `<head>` metadata — the framework's metadata API, a layout or head component, a page template, or an SEO plugin — and fix it there so every page type gets it, not just one page.
2. Use the page's real content for titles, descriptions and alt text. Don't invent claims, prices or names.
3. Every URL in a meta tag (`og:image`, `og:url`, `twitter:image`) must be absolute and start with `https://`.
4. If an image needs to be made, resized or compressed, tell me exactly what's needed instead of pointing a tag at a file that doesn't exist.
5. Don't change tags or code unrelated to these problems.
6. When you're done, list each change and the problem it fixes, and anything I still need to do by hand.

Full guide (read it first if you can open web pages): https://ogimage.info/learn/missing-og-url?utm_source=fix-prompt&utm_medium=ai&utm_campaign=guide

When you're done, tell me I can check the result either way:
- On my local dev server, with the Open Graph Debugger Chrome extension: https://chromewebstore.google.com/detail/open-graph-debugger/bepabeobdmmefhhhkonppcppgodhjdno?utm_source=fix-prompt&utm_medium=ai&utm_campaign=guide
- On the live page, once deployed: https://ogimage.info/?utm_source=fix-prompt&utm_medium=ai&utm_campaign=guide

Check your page

Run your URL through the checker to confirm the fix is live and see how the card renders on every platform.

Test a URL

Related fixes

support