大网数据广告活动
网站运营与故障问答

Meta name description in og:description

· 52CE 我爱测

I would like to ask if is there any difference when I have description and og:description separately and together. Is there just only difference that when it's separately I can add different text and when it's together, so same t…

问题原文

原帖链接 · Miroslav · CC BY-SA 4.0

I would like to ask if is there any difference when I have description and og:description separately and together. Is there just only difference that when it's separately I can add different text and when it's together, so same text is used for both ?

<meta name="description" content="Lorem ipsum" />

<meta property="og:description" content="Lorem ipsum" />

Together

<meta property="og:description" name="description" content="Lorem ipsum">

已采纳解答

原帖链接 · Anuvesh · CC BY-SA 4.0

There is no problem in implementing Open Graph(OG) along with the description and same is the case for twitter cards.

Different platforms prefer different descriptions and they would be free to go ahead with the one they see fit. (facebook prefers open graph, twitter prefers Twitter cards).

And yes, the format that you used for implementing them together i.e

<meta property="og:description" name="description" content="Lorem ipsum">

will work properly.

You can run your Html code with this tag on Facebook's URL Linter to be sure.

摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。

资料来源与适用范围

资料来源
Webmasters Stack Exchange
适用范围
以原帖系统、软件版本与发布日期为准(2019-11-13)
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY-SA 4.0

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。