【问题标题】:Why is meta description of home page not appearing when I share the URL?为什么我分享网址时没有出现主页的元描述?
【发布时间】:2019-12-08 02:21:16
【问题描述】:

问题

每当我在社交媒体上分享 URL https://decentr.net/ 时,它都不会附带元描述。

但是,当我分享 url https://decentr.net/blog/ 或任何其他页面时,元描述确实会出现。

这是电报的截图:


例外

在whatsapp上它确实出现了元描述

这是whatsapp的截图


代码

Index.html(主页)的前文

---
layout: page
title: Earn by surfing the net
permalink: /
---

来自<head>的元描述

<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Decentr provides a web browser experience that gives surfing the internet a payable value for every user">
<meta name="viewport" content="width=device-width, initial-scale=1">

SEO Jekyll 插件

<!-- Begin Jekyll SEO tag v2.5.0 --> 
<title>Earn by surfing the net</title> 
<meta name="generator" content="Jekyll v3.8.5" /> 
<meta property="og:title" content="Earn by surfing the net" /> 
<meta property="og:locale" content="en_US" /> 
<link rel="canonical" href="http://decentr.net//" /> 
<meta property="og:url" content="http://decentr.net//" /> 
<meta property="og:site_name" content="Earn by surfing the net" /> 
<script type="application/ld+json"> {"publisher":{"@type":"Organization","logo":{"@type":"ImageObject","url":"http://decentr.net//assets/logo.png"}},"@type":"WebSite","url":"http://decentr.net//","headline":"Earn by surfing the net","name":"Earn by surfing the net","@context":"http://schema.org"}</script> 
<!-- End Jekyll SEO tag -->

来自 _config.yml 的元描述

# Site settings
title: Earn by surfing the net
subtitle: "Decentr provides a web browser experience that gives surfing the internet a payable value for every user"
url: "http://decentr.net/"


Github 回购:

https://github.com/bomengeduld/decentr.net

【问题讨论】:

    标签: seo jekyll metadata social-media


    【解决方案1】:

    这并不是关于 Jekyll 的问题。一旦生成 HTML,Jekyll 的工作就结束了。如果您已确认元描述在生成的 HTML 中,那么这并不是 Jekyll 的真正问题。

    相反,这是一个关于各种社交媒体网站的预览生成器的问题。是否选择使用元描述取决于他们,我们对此无能为力。

    有多种工具可帮助您了解社交媒体预览爬虫如何理解您的网站:

    Google 上还有很多其他工具,我建议您搜索一下。

    我的猜测是 WhatsApp 有您网站的缓存版本,并且元描述没有更新。同样,我建议您搜索一个可以让您触发重新抓取网站的工具。

    【讨论】:

      猜你喜欢
      • 2021-09-22
      • 2016-12-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-08-04
      • 2011-11-06
      • 2018-10-29
      • 1970-01-01
      相关资源
      最近更新 更多