html - 我如何编码我的元数据以允许我的网站在用谷歌搜索时显示元描述和链接

标签 html xml seo sitemap meta-tags

如何构建我的元数据或站点地图,以便当我的站点被谷歌搜索时,结果可以像显示的图像一样显示?我需要使用什么代码来实现这一目标?

enter image description here

最佳答案

你不能。Google 决定何时执行此操作。根据我的webmaster tools :

Google has not generated any sitelinks for your site. Sitelinks are completely automated, and we show them only if we think they'll be useful to the user. If your site's structure doesn't allow our algorithms to find good sitelinks, or we don't think that the sitelinks are relevant to the user's query, we won't show them

关于html - 我如何编码我的元数据以允许我的网站在用谷歌搜索时显示元描述和链接,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4891933/

相关文章:

angularjs - 从 angularJS 的 url 中删除 # 以进行 SEO,后端为 Django

html - 为什么要给单独的 li 元素一个主导航栏的类?

javascript - 使用javascript根据其他下拉列表中的选定值启用或禁用下拉列表

html - 基于 anchor 显示/隐藏内容;默认先显示

PHP 和 XML : The cost of parsing a large XML file every page request

xml - xml 文件中的 Visual Studio TODO 注释到任务列表

xml - 在 XSLT 中使用 If Else

seo - 什么是不狡猾或废话的常识性 SEO 做法?

jquery - 在 div 中显示工具提示

iframe - 如何让谷歌只索引页面的图像?