html 中 rel canonical 属性值 -- rel="canonical"属性是让搜索引擎知道当前网站中的重复或相似网页中,哪一个页面才是站长想让其抓取与收录的
canonical属性值通常在,rel属性中出现
canonical从功能上来讲,可理解为301永久重定向的辅助功能
canonical可以与相对链接或绝对链接一起使用,但是建议使用绝对链接
Google对canonical的定义是:规范网页是一组内容高度相似的网页的首选版本
canonical:中文"典范"的意思
示例
<link rel="canonical" href="http://solves.com.cn/" />
指定网页http://www.solves.com.cn/为搜索引擎应收录的链接(规范链接)。可以将上述代码复制到所有非规范网址的head部分,例如网址www.solves.com.cn、www.solves.com.cn/default.html、www.solves.com.cn/index.html等
按字母顺序浏览:A B C D E F G H I J K L M N O P Q R S T U V W X Y Z
→我们致力于为广大网民解决所遇到的各种电脑技术问题 如果您认为本词条还有待完善,请 编辑词条
上一篇Google广告空白的原因
下一篇苹果9月12日发iPhone8