จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
การกำหนดหน้า Canonical คืออะไร
การกำหนดหน้า Canonical คือขั้นตอนการเลือก Canonical URL ที่เป็นตัวแทนของเนื้อหาชิ้นหนึ่งๆ Canonical URL จึงเป็น URL ของหน้าที่ Google เลือกว่าเป็นตัวแทนที่ดีที่สุดจากชุดหน้าที่ซ้ำกัน ขั้นตอนนี้มักเรียกว่าการกรองข้อมูลที่ซ้ำกันออก เนื่องจากกระบวนการนี้จะช่วยให้ Google แสดงเนื้อหาที่ซ้ำกันเพียงเวอร์ชันเดียวในผลการค้นหา
มีหลายสาเหตุที่เว็บไซต์อาจมีเนื้อหาที่ซ้ำกัน ดังนี้
-
รูปแบบของภูมิภาค: กล่าวคือเนื้อหาสำหรับสหรัฐอเมริกาและสหราชอาณาจักรซึ่งเข้าถึงได้จากคนละ URL แต่มีเนื้อหาเดียวกันในภาษาเดียวกัน
-
รูปแบบของอุปกรณ์: เช่น หน้าเว็บที่มีทั้งเวอร์ชันอุปกรณ์เคลื่อนที่และเวอร์ชันเดสก์ท็อป
-
รูปแบบของโปรโตคอล: เช่น เวอร์ชัน HTTP และ HTTPS ของเว็บไซต์
-
ฟังก์ชันของเว็บไซต์: เช่น ผลลัพธ์ของการจัดเรียงและการกรองหน้าหมวดหมู่
- รูปแบบที่ไม่ตั้งใจ: เช่น เว็บไซต์เวอร์ชันสาธิตอาจปล่อยให้ Crawler เข้าถึงโดยไม่ตั้งใจ
การมีเนื้อหาที่ซ้ำกันบ้างในเว็บไซต์นั้นเป็นเรื่องปกติ และไม่เป็นการละเมิดนโยบายสแปมของ Google อย่างไรก็ตาม การมีเนื้อหาเดียวกันที่เข้าถึงได้ผ่าน URL ที่ต่างกันหลาย URL อาจทำให้ผู้ใช้ได้รับประสบการณ์ที่ไม่ดี (เช่น ผู้ใช้อาจสงสัยว่าหน้าใดถูกต้อง และเนื้อหาทั้งสองแตกต่างกันหรือไม่) อาจทำให้คุณติดตามประสิทธิภาพของเนื้อหาในผลการค้นหาได้ยากขึ้น
วิธีที่ Google จัดทำดัชนีและเลือก Canonical URL
เมื่อ Google จัดทำดัชนีหน้าเว็บ ระบบจะกำหนดเนื้อหาหลัก (หรือกึ่งกลาง) ของแต่ละหน้า หาก Google พบหน้าเว็บหลายหน้าที่ดูเหมือนกัน หรือมีเนื้อหาหลักที่คล้ายกันอย่างมาก Google จะเลือกหน้าตามปัจจัยในการจัดทําดัชนี (หรือสัญญาณ) ที่รวบรวมได้ ซึ่งเป็นหน้าที่สมบูรณ์และมีประโยชน์ตามวัตถุประสงค์มากที่สุดสําหรับผู้ใช้ Search และจะทําเครื่องหมายว่าเป็นหน้า Canonical ระบบจะทำการ Crawl หน้า Canonical ให้เป็นประจำที่สุด และทำการ Crawl หน้าที่ซ้ำน้อยครั้งกว่า เพื่อลดปริมาณงานในการ Crawl เว็บไซต์ของคุณ
มีปัจจัยอยู่จำนวนหนึ่งที่มีบทบาทในการกําหนดหน้า Canonical เช่น หน้าเว็บแสดงผ่าน HTTP หรือ HTTPS, การเปลี่ยนเส้นทาง, การแสดง URL ใน Sitemap และคำอธิบายประกอบของ rel="canonical"
link
คุณระบุความต้องการให้ Google ทราบได้โดยใช้เทคนิคเหล่านี้ แต่ Google อาจเลือกหน้า Canonical คนละหน้ากับที่คุณเลือกไว้เมื่อพิจารณาเหตุผลต่างๆ แล้ว กล่าวคือ การระบุ Canonical ที่ต้องการเป็นเพียงคำให้สัญญาณ ไม่ใช่กฎ
หน้าที่เป็นเวอร์ชันภาษาต่างๆ ของหน้าหนึ่งๆ จะถือว่าซ้ำกันต่อเมื่อเนื้อหาหลักเป็นภาษาเดียวกันเท่านั้น (นั่นคือระบบจะพิจารณาว่าหน้าซ้ำเมื่อมีการแปลเฉพาะส่วนหัว ส่วนท้าย และข้อความที่ไม่สำคัญอื่นๆ แต่เนื้อหายังคงเหมือนเดิม) หากต้องการดูข้อมูลเพิ่มเติมเกี่ยวกับการตั้งค่าเว็บไซต์ที่แปลแล้ว โปรดดูเอกสารประกอบเกี่ยวกับการจัดการเว็บไซต์หลายภาษาและหลายภูมิภาค
Google ใช้หน้า Canonical เป็นแหล่งข้อมูลหลักในการประเมินเนื้อหาและคุณภาพ โดยปกติแล้วผลการค้นหาของ Google Search จะนำไปยังหน้า Canonical ยกเว้นกรณีที่หน้าเว็บที่ซ้ำเหมาะสมกับผู้ค้นหามากกว่าอย่างชัดเจน เช่น ผลการค้นหาอาจนำไปยังหน้าสำหรับอุปกรณ์เคลื่อนที่หากผู้ใช้กำลังใช้อุปกรณ์เคลื่อนที่อยู่ แม้ว่าหน้าเว็บบนเดสก์ท็อปจะมีการทำเครื่องหมายเป็นหน้า Canonical ก็ตาม
อ่านเพิ่มเติมเกี่ยวกับวิธีระบุ Canonical URL ที่ต้องการและดูว่าคุณต้องระบุหรือไม่
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-04 UTC
[null,null,["อัปเดตล่าสุด 2025-08-04 UTC"],[[["\u003cp\u003eCanonicalization is the process of choosing the best URL from a set of duplicate pages on a website.\u003c/p\u003e\n"],["\u003cp\u003eGoogle uses signals like HTTPS, sitemaps, and redirects to determine the canonical URL, aiming to show users the most relevant and complete version of a page.\u003c/p\u003e\n"],["\u003cp\u003eWhile website owners can suggest a preferred canonical URL, Google's algorithms may ultimately select a different URL based on various factors.\u003c/p\u003e\n"],["\u003cp\u003eDuplicate content arising from regional or device variations is common and not inherently problematic, but managing it can improve user experience and search performance.\u003c/p\u003e\n"],["\u003cp\u003eGoogle primarily uses the canonical version for content evaluation and search results, but may prioritize other versions (e.g., mobile) based on user context.\u003c/p\u003e\n"]]],["Canonicalization is the process of selecting a representative URL for duplicate content. Google chooses the most complete and useful page as the canonical URL, indexing it more regularly. Duplicate pages may arise from region, device, protocol variants, site functions, or accidents. Factors like HTTP/HTTPS, redirects, sitemaps, and `rel=\"canonical\"` annotations influence Google's choice, though it can differ from site preferences. The canonical page is the primary source for content evaluation unless a duplicate better serves a user's specific context.\n"],null,["# What is URL Canonicalization | Google Search Central\n\nWhat is canonicalization\n========================\n\n\nCanonicalization is the process of selecting the representative\n--**canonical**-- URL of a piece of content. Consequently, a canonical\nURL is the URL of a page that Google chose as the most representative from a set of duplicate\npages. Often called deduplication, this process helps Google show only one version of the\notherwise duplicate content in its search results.\n\nThere are many reasons why a site may have duplicate content:\n\n- **Region variants**: for example, a piece of content for the USA and the UK, accessible from different URLs, but essentially the same content in the same language\n- **Device variants**: for example, a page with both a mobile and a desktop version\n- **Protocol variants**: for example, the HTTP and HTTPS versions of a site\n- **Site functions**: for example, the results of sorting and filtering functions of a category page\n- **Accidental variants**: for example, the demo version of the site is accidentally left accessible to crawlers\n\n\nSome duplicate content on a site is normal and it's not a violation of\n[Google's spam policies](/search/docs/essentials/spam-policies). However, having the\nsame content accessible through many different URLs can be a bad user experience (for example,\npeople might wonder which is the right page, and whether there's a difference between the two) and\nit may make it harder for you to track how your *content* performs in search results.\n\n### How Google indexes and chooses the canonical URL\n\n\nWhen [Google indexes a page](/search/docs/fundamentals/how-search-works), it\ndetermines the primary content (or *centerpiece* ) of each page. If Google finds\nmultiple pages that seem to be the same or the primary content very similar, it chooses the\npage that, based on the factors (or *signals*) the indexing process collected, is\nobjectively the most complete and useful for search users, and marks it as canonical. The\ncanonical page will be crawled most regularly; duplicates are crawled less frequently in\norder to reduce the crawling load on sites.\n\n\nThere are a handful of factors that play a role in canonicalization: whether the page\nis served over HTTP or HTTPS, redirects, presence of the URL in a sitemap, and\n`rel=\"canonical\"` `link` annotations. You can\n[indicate your preference to Google](/search/docs/crawling-indexing/consolidate-duplicate-urls#define-canonical)\nusing these techniques, but Google may choose a different page as canonical than you do,\nfor various reasons. That is, indicating a canonical preference is a hint, not a rule.\n\n\nDifferent language versions of a single page are considered duplicates only if the primary\ncontent is in the same language (that is, if only the header, footer, and other non-critical\ntext is translated, but the body remains the same, then the pages are considered to be\nduplicates). To learn more about setting up localized sites, see our documentation about\n[managing multi-lingual and multi-regional sites](/search/docs/specialty/international/localized-versions).\n\n\nGoogle uses the canonical page as the main source to evaluate content and quality. A Google\nSearch result usually points to the canonical page, unless one of the duplicates is explicitly\nbetter suited for a search user. For example, the search result will probably point to the\nmobile page if the user is on a mobile device, even if the desktop page is the canonical.\n\n\nRead more about\n[how to indicate your preference for the canonical URL, and whether you need to](/search/docs/crawling-indexing/consolidate-duplicate-urls)."]]