Discuz! Board

 找回密碼
 立即註冊
搜索
熱搜: 活動 交友 discuz
查看: 4|回復: 0

URL canonicalization is the process of telling

[複製鏈接]

1

主題

1

帖子

5

積分

新手上路

Rank: 1

積分
5
發表於 2024-3-4 17:18:31 | 顯示全部樓層 |閱讀模式
Google which page is the canonical page (original page) when there is duplicate content. For example, if you have a separate page for printing in addition to the original page. Specifically, direct canonical from a non-canonical page (duplicated page) to a regular page as shown below. Correct usage of canonical Correct usage of canonical There are rules when using canonical. If you don't follow the rules, Google may ignore canonical, so be careful when using it. Put canonical inside the <head> tag By placing it as close to the top of the <head> tag as possible, Google will recognize it more accurately. On the other hand, note that canonical is ignored if it is inside the <body> tag . Place the rel=canonical attribute tag only within tags in HTML documents. Additionally, to avoid problems when parsing the HTML, place rel=canonical at the top of the tag so that it is loaded as early as possible. Google ignores rel=canonical in the <body> tag. ●Source: Official Google Webmaster Blog [EN]: 5 common mistakes regarding the rel=canonical attribute Describe the canonical destination as an "absolute URL" An "absolute URL" is one in which the entire URL is written without abbreviations, as shown below.

On the other hand, a “relative URL” is a shortened URL that expresses the positional relationship starting from the current location Source: Official Google Webmaster Blog [EN]: 5 common mistakes regarding the rel=canonical attribute How to use by case Canonical is used in various situations. There are Belgium Phone Number Data some things that are used differently in each case, so I will explain each one one by one. Used for normalization of "sort page" Some pages, such as product list pages, simply change the default order, such as ``lowest price'' or ``arrival first''. Since these are treated as duplicate content, canonicalize the URL by setting canonical as shown below. Normalization of sorting pages Use for content syndication Content syndication is a system that distributes and provides content not only to your own site but also to third-party sites. A good example is a news site. For example, if your site is the "provider" of content, have the "provider" page set canonical.




This tells Google that your site is original. For syndication, using rel=canonical is the best approach ●Source: Google Search Central Twitter Please note that if you do not do this, the provided page may be considered the original. Syndicate with care: When you syndicate your content to other sites, Google will always show you the version it thinks is best, regardless of your decisions. ●Source: Avoid creating duplicate content | Search Central | Google Developers Use HTTP header for PDF files If you cannot set canonical on the HTML like in a PDF file, set canonical on the HTTP header.
回復

使用道具 舉報

您需要登錄後才可以回帖 登錄 | 立即註冊

本版積分規則

Archiver|手機版|自動贊助|z

GMT+8, 2024-12-5 03:01 , Processed in 1.329684 second(s), 30 queries .

抗攻擊 by GameHost X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回復 返回頂部 返回列表
一粒米 | 中興米 | 論壇美工 | 設計 抗ddos | 天堂私服 | ddos | ddos | 防ddos | 防禦ddos | 防ddos主機 | 天堂美工 | 設計 防ddos主機 | 抗ddos主機 | 抗ddos | 抗ddos主機 | 抗攻擊論壇 | 天堂自動贊助 | 免費論壇 | 天堂私服 | 天堂123 | 台南清潔 | 天堂 | 天堂私服 | 免費論壇申請 | 抗ddos | 虛擬主機 | 實體主機 | vps | 網域註冊 | 抗攻擊遊戲主機 | ddos |