简体   繁体   English

当我分享我的网站链接时标题不显示

[英]Title does not show when i share my website link

I have used meta title,image and everything still this sql error statement shows in title.我已经使用了 meta title、image 和所有仍然显示在标题中的 sql 错误声明。 This sql error came when i first developed my website and faced some error.当我第一次开发我的网站并遇到一些错误时,出现了这个 sql 错误。 Now my website has no problem, runnuing smoothly but this sql statement always shows when i share the link with someone.现在我的网站没有问题,运行顺利,但是当我与某人分享链接时,这个 sql 声明总是显示。

    <meta property="og:url"                content="http://www.example.com" />
    <meta property="og:type"               content="article" />
    <meta property="og:title"              content="My Title" />
    <meta property="og:description"        content="" />
    <meta property="og:image"              content="images/teer-result.jpg" />

在此处输入图像描述

You should visit your link.你应该访问你的链接。 Then view source and check what' value is really set in the property="og:title".然后查看源代码并检查在 property="og:title" 中真正设置的值是什么。 It will probably shed some light on the error.它可能会阐明错误。

If it looks good then it's likely Facebook cached a previous erroneous value.如果它看起来不错,那么它很可能 Facebook 缓存了以前的错误值。 In that case try using https://developers.facebook.com/tools/debug/ to fetch a fresh copy and confirm.在这种情况下,请尝试使用https://developers.facebook.com/tools/debug/获取新副本并确认。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 共享时,为什么我的“网站图片”没有显示在Facebook缩略图上? - Why does my Website Pictures does not show on Facebook thumbnail when i share it? 滚动时,为什么我的网站在Chrome中显示滞后? - Why does my website show lag in Chrome when I scroll? 当我在html网站上键入{page_title}时,是否可以打印网页标题? - Is there a way to print the the webpage page title when I type {page_title} on my html website? 如何在 whatsapp 和其他社交媒体上分享我的网站链接? - how to share my website link on whatsapp and other social medias? 如何为我的包含短博客的网站创建 Twitter 共享链接 - How to create Twitter Share link for my website containing short blogs 当我输入我的网站地址时,它会显示我的PHP代码 - when I enter my website address it show me PHP code 在Facebook上共享url,但共享链接中的标题已更改 - url share on the facebook but title is change in share link 通过链接获取网站标题 - Get title of website via link 当我在我的网站上提交帖子时,如何显示日期(“l H:i”)? - How do i show date("l H:i") for when i submitted a post at my website? 如何在我的网站的链接中以缩略图形式显示og:image - How to Show og:image as thumbnail in my website of a link
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM