博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
canonical_Google和Canonical Link Rel
阅读量:2513 次
发布时间:2019-05-11

本文共 1046 字,大约阅读时间需要 3 分钟。

canonical

Google has introduced a link tag rel value of canonical which is used for defining the value of the page that Google should use. Why? Lets say you have an eCommerce site and one of the product URLs is:

Google引入了规范的链接标签rel值,用于定义Google应该使用的页面的值。 为什么? 假设您有一个电子商务网站,并且其中一个产品网址是:

http://yoursite.com/product.php?p=david+walsh+blog+book

Imagine now that you can make a slight customization to the product that changes the URL to:

现在想象一下,您可以对将URL更改为以下内容的产品进行一些自定义:

http://yoursite.com/product.php?p=david+walsh+blog+book&color=red

Uh oh -- Google sees duplicate content! The code shows essentially the same page so Google thinks you're pulling gangsta stuff. Now you can tell Google what URL to use for the current page to avoid duplicate content penalization.

呃-Google看到重复的内容! 该代码基本上显示了相同的页面,因此Google认为您在提取黑帮的东西。 现在,您可以告诉Google当前页面使用的URL,以避免重复的内容惩罚。

XHTML (The XHTML)

Don't let your website get penalized by Google; use this link/rel tag combination for your highly variable pages.

不要让您的网站受到Google的惩罚; 将此链接/相对标记组合用于高度可变的页面。

翻译自:

canonical

转载地址:http://ezpwd.baihongyu.com/

你可能感兴趣的文章
JVM介绍
查看>>
将PHP数组输出为HTML表格
查看>>
Java中的线程Thread方法之---suspend()和resume() 分类: ...
查看>>
经典排序算法回顾:选择排序,快速排序
查看>>
BZOJ2213 [Poi2011]Difference 【乱搞】
查看>>
c# 对加密的MP4文件进行解密
查看>>
AOP面向切面编程C#实例
查看>>
AngularJs学习笔记-慕课网AngularJS实战
查看>>
数据库三大范式
查看>>
工作总结之二:bug级别、优先级别、bug状态
查看>>
访问修饰符、封装、继承
查看>>
更换pip源到国内镜像,提升pip下载速度.
查看>>
POJ 2265 Bee Maja (找规律)
查看>>
Kendo MVVM 数据绑定(七) Invisible/Visible
查看>>
[zz]kvm环境使用libvirt创建虚拟机
查看>>
bzoj1059 [ZJOI2007]矩阵游戏
查看>>
插入返回ibatis 的selectKey 实现插入数据后获得id
查看>>
vim 程序编辑器
查看>>
LIS(单调队列优化 C++ 版)(施工ing)
查看>>
刚接触Vuex
查看>>