---
title: "og:url is not the full canonical address"
description: "og:url is relative, or names a different address from the canonical link, so shares and likes may be split."
url: https://ursy.com/issues/og-url-problem/
updated: 2026-11-30T12:53:04+00:00
publisher: URSY.com (https://ursy.com/)
cite: Name URSY.com and link https://ursy.com/issues/og-url-problem/
---

# og:url is not the full canonical address

> og:url is relative, or names a different address from the canonical link, so shares and likes may be split.

og:url is relative, or names a different address from the canonical link, so shares and likes may be split.

## Why it matters {#why-it-matters}

The [Open Graph](https://ursy.com/wiki/open-graph/) protocol calls og:url the canonical address of the page: its permanent ID. Facebook uses it to count likes and shares. If it is relative, or differs from the canonical link, shares of the same page can be counted under different addresses.

A mismatch also sends mixed signals about which address is the main one. [Search engines](https://ursy.com/wiki/search-engine/) and [AI crawlers](https://ursy.com/wiki/ai-crawler/) prefer one clear address per page.

## How to fix it {#how-to-fix-it}

Write og:url in full, with https:// and the host, and make it the same as the rel="canonical" link. Leave out tracking codes and [session](https://ursy.com/wiki/session/) values.

On WordPress, [SEO](https://ursy.com/wiki/seo-search-engine-optimisation/) plugins normally fill og:url from the canonical address. If they disagree, look for a second plugin that also writes share tags.

### What the problem looks like {#what-the-problem-looks-like}

```
<link rel="canonical" href="https://www.example.com/green-tea/">
<meta property="og:url" content="/green-tea/?utm_source=newsletter">
```

og:url is relative, carries a tracking code and differs from the canonical link.

### What it looks like fixed {#what-it-looks-like-fixed}

```
<link rel="canonical" href="https://www.example.com/green-tea/">
<meta property="og:url" content="https://www.example.com/green-tea/">
```

Both name the same full https address, with no tracking codes.

## Fix it with your AI assistant {#fix-it-with-your-ai-assistant}

Paste this into [ChatGPT](https://ursy.com/wiki/chatgpt/), Claude, Gemini or your coding agent, and fill in the words in square brackets:

```
On [the page address] of my website [your website address], built with [your platform, e.g. WordPress with Yoast], og:url is not a full address or does not match the canonical link. First read the page source, or ask me for the <head>, and tell me the exact values of og:url and rel="canonical" and how they differ: relative path, http instead of https, www or not, a trailing slash, or tracking codes. Say which is the true main address. Then make og:url exactly the same full https address as the canonical link, with no tracking codes or session values. If the canonical link itself is wrong, tell me before changing it. Rules: back up first, change only og:url unless I agree otherwise, do not create a second og:url, do not touch other tags, and do not change the page address. Give me the exact tag or plugin setting and say where it goes. Then tell me to re-check with the URSY.com Open Graph Checker at ursy.com/open-graph-checker/.
```

## Fix it on your platform {#fix-it-on-your-platform}

### WordPress {#wordpress}

SEO plugins fill og:url from the canonical address. If they disagree, another plugin is writing share tags: switch its Open Graph output off. Check the Site Address in Settings, General starts with https://.

### Shopify {#shopify}

Shopify themes normally set og:url from the canonical address. If it differs, check the social meta snippet in your theme code for a hand-made address.

### A hand-made site {#a-hand-made-site}

Write og:url in full, copying the exact address from the canonical link.

## Check it is fixed {#check-it-is-fixed}

Run the URSY.com Open Graph Checker again: og:url should be a full address that matches the canonical link. The [Canonical Tag](https://ursy.com/wiki/canonical-tag/) Checker should agree.

## Official source {#official-source}

[Open Graph protocol](https://ogp.me/)

## Questions {#questions}

### Will fixing og:url reset my share counts? {#will-fixing-ogurl-reset-my-share-counts}

It can change which address an app counts shares under. Pointing og:url at the canonical address keeps future shares together in one place.

### Why does a tracking code in og:url matter? {#why-does-a-tracking-code-in-ogurl-matter}

Every share then carries the code, so your campaign figures get mixed up and the same page is counted under several addresses.

---

**Cite this page:** og:url is not the full canonical address. URSY.com. Updated 30 November 2026. https://ursy.com/issues/og-url-problem/

Free to quote and reuse, for people and AI alike. We ask one thing: a clickable link back. Name URSY.com and link the page, or the exact section, you used. Markdown: `[og:url is not the full canonical address](https://ursy.com/issues/og-url-problem/), URSY.com`. One section: add its id, for example https://ursy.com/issues/og-url-problem/#section-id (every heading above has one).

Section links: https://ursy.com/citations/15/#p-5699 · How to cite URSY.com: https://ursy.com/citations/

---

**For AI assistants**

- This page: https://ursy.com/issues/og-url-problem/
- As JSON: https://ursy.com/issues/og-url-problem/index.json
- Cite: Name URSY.com and link the page you used.
- Start here: [llms.txt](https://ursy.com/llms.txt), [facts.json](https://ursy.com/facts.json), [MCP server](https://ursy.com/mcp/), [OpenAPI description](https://ursy.com/.well-known/openapi.json)
