Canonical 标签是什么?
· 2022-12-07

今天跟大家聊一下Canonical标签,一个不经常出现在人们视野里的内容。

Canonical 标签是什么?


Canonical 标签主要是用来规范化网址。它能够帮助谷歌在网站的一组重复网页中选取最具代表性的网页的网址。



谷歌图片数据库

当你的某个网页可以通过多个网址访问或者是你的不同的网页上有相似的内容,那么谷歌(搜索引擎)就会把这些网页当作是同一个页面的复制版本,它会选择其中一个网址当作是规范网址,并且降低其它的被搜索引擎认为是复制版本的网址的抓取频率。举个例子:example.com?dress=1234example.com/dresses/1234以上两个网址打开的都是同一个页面。对于我们这些用户来说是没有什么区别的,但是对于搜索引擎来说这就是两个不同的网址。当搜索引擎分不出谁更重要时,它会把页面的权重平分掉。为了避免权重分散,我们可以通过canonical标签来告诉搜索引擎哪个页面地址是主要的(也就是哪个URL我想被收录),这样就能确保页面权重的集中,帮助我们提高关键词的排名。用来规范网页的代码长这样:



谷歌大叔

Canonical标签是在出现类似网页或重复网页时使用的,为什么会出现存在类似网页或重复网页呢?


一、为了支持多种设备类型的使用生成不同的URL


https://example.com/news/koala-rampagehttps://m.example.com/news/koala-rampagehttps://amp.example.com/news/koala-rampage 


二、为了启用搜索参数或会话 ID 等所需的动态网址


https://www.example.com/products?category=dresses&color=greenhttps://example.com/dresses/cocktail?gclid=ABCDhttps://www.example.com/dresses/green/greendress.html


三、当把同样的博客文章同时放在多个版块中时,博客系统会自动保存多个网址


https://blog.example.com/dresses/green-dresses-are-awesome/https://blog.example.com/green-things/green-dresses-are-awesome/


四、服务器已配置为针对 www/非 www http/https 和协议端口变体提供相同的内容


http://example.com/green-dresseshttps://example.com/green-dresseshttp://www.example.com/green-dresseshttp://example.com:80/green-dresseshttps://example.com:443/green-dresses


Canonical标签注意事项




大叔团队原创图片

1.注意href里的地址不能是死链,错误页或者是被robots封禁的页面。


2.请勿使用相同或不同的规范化方法为同一网页指定不同的规范网址,否则搜索引擎会认为这个canonical标签无效。


3.优先选择 HTTPS(而非 HTTP)网址作为规范网址


Popular articles
SBC Summit Canada to Make Player Safety a Key Pillar of 2026 Agenda
Marketing
Brazil Proposes Raising Gambling Tax Rate to 24%, With Revenue Allocated to Social Security and Healthcare
Regulation
HUIDU Invites You to Booth T70 at iGB L!VE 2026 — Let’s Ignite London This July!
HUIDU Focus
Vietnam's tightening online gaming policy creates new market opportunities
Southeast Asia
Across 6 Cities: HUIDU Invites You to 8 World Cup Parties Redefining High-Value Social Networking
HUIDU Focus
Gaming & Technology Expo Makes a Powerful Entrance in CDMX
Marketing
Vietnam’s Controlled Gaming Shift Gains Ground, But Domestic Demand Still Lags
Southeast Asia
New Jersey July Gambling Revenue Hits $606M, Sweeps Casinos Banned
Regulation
Online gambling, crypto pose ongoing money laundering risks in Philippines, analyst says
Southeast Asia
Super PAC Raises $48 Million: Sports Betting Forces Ramp Up Political Push
Regulation
B2B Tech Infrastructure Gains Momentum in Philippine Gaming Sector
Southeast Asia
Institutional Academy that exceeded expectations marked the opening of GAT CDMX
Online Game
GAT CDMX 2025 Institutional Academy: Leaders and Experts Analyze the Present and Future of the Gaming Industry in Mexico and Lat
Sports Game
Indiana online casino bill stalls in House committee
Regulation
GGC Awards 2026 Shines in Colombo: Honoring Leaders and Innovators in the iGaming Industry
HUIDU Focus
Home
Game
Cooperation
Find
My