Home

ogurl

og:url is a property of the Open Graph protocol that specifies the canonical URL of the page represented by a piece of content when it is shared on social media. By providing a single, stable URL, og:url helps ensure that the correct link, title, description, and image are associated across platforms such as Facebook, LinkedIn, and Twitter's card rendering.

Implementation is done in the HTML head as a meta tag, for example: <meta property="og:url" content="https://example.com/page.html"

og:url is typically used together with other Open Graph tags such as og:title, og:description, and og:image to

Best practices include choosing one canonical URL (for example, with or without www, http versus https) and

Testing and limitations: Some networks may ignore og:url in certain scenarios or require additional tags to

---

/>.
The
value
should
be
an
absolute
URL
and
typically
should
match
the
page's
canonical
URL.
If
a
page
is
accessible
via
multiple
URLs
or
with
query
parameters,
og:url
should
point
to
the
canonical
version
to
avoid
content
duplication
in
social
previews.
define
the
shared
content.
If
og:url
is
omitted,
some
platforms
will
infer
the
URL
from
the
current
page
location,
which
may
lead
to
inconsistencies
if
a
canonical
URL
differs.
setting
og:url
accordingly.
Ensure
the
URL
uses
the
same
protocol
and
domain
as
the
site’s
canonical
links,
and
validate
with
debugging
tools
from
social
platforms
to
confirm
proper
parsing.
render
correctly.
Tools
like
the
Facebook
Sharing
Debugger
or
Open
Graph
validators
can
help
verify
that
og:url
is
correctly
recognized.