角度元标记信息未在Google中显示 [英] Angular meta tag information does not show in google

查看:87
本文介绍了角度元标记信息未在Google中显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有角度基础应用程序 yuppi.com.ua ,并且我正在使用meta指令将内容描述绑定到使用以下代码的所有页面:

I have angular base application yuppi.com.ua and I am using meta directive to bind content description for all pages using following code:

 <meta ng-if="meta.description != undefined" name="description" 
       content="{{meta.description}}" />

当我检查代码时,我看到生成的HTML包含了我需要的东西:

When I inspect code I see that generated HTML contains exect what I need:

 <meta class="ng-scope" content="Yuppi - самая большая в Украине доска бесплатных объявлений" 
       name="description" ng-if="meta.description == undefined"/>

但是,当我在Google中搜索自己的网站时,我看到了页脚中的一些文字,但其中应该包含内容描述.有人知道怎么了吗

But when I search my site in Google, I see some text from footer but there should content description from . is anybody know what is wrong

推荐答案

Google将从以下位置(不一定按此顺序)选择搜索结果片段:

Google will choose your search results snippets from the following places (not necessarily in this order):

  1. 页面的Meta Description标签
  2. 页面的Open Directory Project(ODP)列表
  3. 与搜索查询相关的页面内容

这意味着仅仅因为您具有元描述标签并不意味着Google会使用它.

This means that just because you have a meta description tag doesn't mean Google is going to use it.

这篇关于角度元标记信息未在Google中显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆