darah16204 發表於 2024-3-4 17:18:31

URL canonicalization is the process of telling

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 : 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 : 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.


https://singaporelead.com/wp-content/uploads/2024/03/bb.jpg

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.
頁: [1]
查看完整版本: URL canonicalization is the process of telling

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