抓取优化

网页抓取位置通常为美国,注意css js等能够访问到
使用Search Console 中的网址检查工具查看google看到的样子
在google搜索site:your.site keywords 查询谷歌收录状态(排名)
在google搜索filetpye:py 查询包含py文件的网站

网址路径优化

注意网址中不要包含中文表情等非ASCII字符

采用 - 连字符 而非 _

多国家可以采用gTLD做特定国家子目录

https://example.com**/de/

链接优化

使用Search Console提交链接,告知谷歌有新链接

新链接使用带herf的a标签

在a标签中添加定位文字或带alt属性的图片

定位文字要具有一定的描述性

注意链接要有前后文,不要连在一起避免混淆

外部链接可以建立可信度,在不信任的链接下添加rel=“nofollow”, ugc为客户评论 sponsored为赞助

站点地图

xml格式,大小不超过50mb且不超过50000个链接或拆分.

使用绝对地址

使用站点地图生成工具生成

使用Search Console提交站点地图,谷歌会根据站点地图爬取链接

  • 站点地图视频条目可以指定视频的时长、评分以及适合哪些年龄段的受众。
  • 站点地图图片条目中可包含网页中所含图片的位置。
  • 站点地图新闻条目中可包含报道标题和发布日期。

规范化

google会选择相同页面中最实用最完整的作为规范网页

向google提示规范网页

  • 重定向
    • 301(永久)/302(暂时)重定向
    • meta-refresh重定向<meta http-equiv="refresh" content="秒数;url=跳转地址">
    • JavaScript重定向window.location.href = "https://example.com";
  • rel=“canonical” link注释
    • 重复网页中添加<link rel="canonical" href="https://example.com/dresses/green-dresses" />指定规范版本
    • rel=“alternate”指定不同的设备,语言,AMP等版本
  • 站点地图提交

提高移动端体验

自适应设计
动态的内容
单独的网址,m.网址,并添加到规范页面的链接,并在规范网址中指定其变体
<link rel="canonical" href="https://example.com/"><link rel="alternate" hreflang="es" href="https://m.example.com/es/">

AMP

提高网页加载速度,异步加载
用AMP提供网络故事

PWA

缓存数据,离线访问,类似原生app

核心网页指标

优化网页各方面的体验

meta数据

<meta name="description" content="A description of the page">description
<meta name="rating" content="adult">成人限制
<meta name="robots/googlebot/..." content="noindex,nofollow">

指令作用
index允许搜索引擎索引页面(默认)
noindex禁止 搜索引擎索引页面
follow允许搜索引擎跟踪页面上的链接(默认)
nofollow禁止 搜索引擎跟踪页面上的链接
noarchive不在搜索结果中显示网页的快照(cache)
nosnippet不显示搜索结果中的摘要(meta description)
max-snippet:-1限制搜索结果摘要的字符数(-1 代表无限制)
max-image-preview:large控制图片预览大小 (nonestandardlarge)
notranslate禁止 Google 翻译该网页

排名/搜索结果呈现

结构化数据

<script type="application/ld+json">
{
  "@context": "https://schema.org/",//表示使用schema语法标准
  "@type": "Product",//类型Article,WebPage,FAQPage,WebSite
  "name": "无线蓝牙耳机",
  "image": "https://example.com/product.jpg",
  "description": "高音质无线耳机,支持蓝牙5.0。",
  "brand": {
    "@type": "Brand",
    "name": "ExampleBrand"
  },
  "aggregateRating": {
    "@type": "AggregateRating",
    "ratingValue": "4.5",
    "reviewCount": "123"
  },
  "offers": {
    "@type": "Offer",
    "price": "199.99",
    "priceCurrency": "CNY",
    "availability": "https://schema.org/InStock"
  }
}
</script>
 

检查结构化数据
检查富文本 结构化数据