Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Co to jest wybór strony kanonicznej
Wybór strony kanonicznej to proces wyboru reprezentatywnego – kanonicznego – adresu URL fragmentu treści. W rezultacie kanoniczny URL to adres strony uznanej przez Google za najbardziej reprezentatywną spośród zbioru duplikatów. Ten proces jest często nazywany usuwaniem duplikatów. Dzięki temu Google może wyświetlać w wynikach wyszukiwania tylko 1 wersję treści, która jest powielona.
Istnieje wiele powodów, dla których treść witryny może być powielona:
Warianty dla regionu: na przykład fragment treści dla Stanów Zjednoczonych i Wielkiej Brytanii, dostępny z różnych adresów URL, ale zasadniczo zawierający te same treści w tym samym języku
Warianty dla urządzeń: na przykład strona w wersji mobilnej i komputerowej
Warianty dla protokołu – np. wersje stron HTTP i HTTPS
Funkcje witryny: na przykład wyniki sortowania i filtrowania strony kategorii
Przypadkowe wersje: na przykład wersja demonstracyjna witryny jest przypadkowo dostępna dla robotów
Niekiedy powielone treści są rzeczą normalną i nie naruszają zasad Google dotyczących spamu Jednak witryny, które są dostępne pod wieloma adresami URL, mogą zniechęcać użytkowników (np. użytkownicy mogą się zastanawiać, która strona jest prawidłowa i czy jest różnica między 2 stronami) oraz może utrudnić śledzenie pozycji Twoich treści w wynikach wyszukiwania.
Jak Google indeksuje i wybiera kanoniczny URL
Podczas indeksowania strony Google określa główną zawartość (główną treść) każdej strony. Jeśli Google wykryje wiele stron, które wydają się takie same lub ich podstawowa treść jest bardzo podobna, wybiera stronę, która na podstawie czynników (sygnałów) zebranych w ramach procesu indeksowania jest obiektywnie najbardziej kompletna i przydatna dla użytkowników wyszukiwarki. Tę stronę oznacza jako kanoniczną. Strona kanoniczna będzie odtąd indeksowana najczęściej, a jej duplikaty z mniejszą częstotliwością, aby ograniczyć obciążenie witryny indeksowaniem.
Istnieje kilka czynników, które odgrywają ważną rolę w wyborze strony kanonicznej: to, czy strona jest wyświetlana przez HTTP czy HTTPS, czy ma przekierowania, czy adres URL jest w mapie witryny. Uwzględniane są też adnotacje rel="canonical"link. Korzystając z tych metod, możesz wskazać Google swoje preferencje, chociaż Google może wybrać jako kanoniczną inną stronę (z wielu powodów). Oznacza to, że określenie preferowanego adresu kanonicznego to wskazówka, a nie reguła.
Różne wersje językowe pojedynczej strony są uważane za duplikaty tylko wtedy, gdy podstawowa treść jest w tym samym języku (to znaczy, jeśli przetłumaczone są tylko nagłówek, stopka i inne mniej istotne fragmenty tekstu, ale główna treść pozostaje taka sama, to strony są uważane za duplikaty). Aby dowiedzieć się więcej o konfigurowaniu witryn zlokalizowanych, zapoznaj się z dokumentacją na temat zarządzania witrynami wielojęzycznymi i multiregionalnymi.
Google wykorzystuje stronę kanoniczną jako główne źródło oceny treści i jakości. W wynikach wyszukiwania najczęściej wyświetlane są strony kanoniczne, chyba że w danej sytuacji bardziej odpowiedni dla użytkownika wyszukiwarki jest któryś z duplikatów. Na przykład jeśli użytkownik korzysta z komórki, w wynikach wyszukiwania najprawdopodobniej pojawi się strona mobilna – nawet gdy jako kanoniczna została wskazana strona na komputery.
[[["Łatwo zrozumieć","easyToUnderstand","thumb-up"],["Rozwiązało to mój problem","solvedMyProblem","thumb-up"],["Inne","otherUp","thumb-up"]],[["Brak potrzebnych mi informacji","missingTheInformationINeed","thumb-down"],["Zbyt skomplikowane / zbyt wiele czynności do wykonania","tooComplicatedTooManySteps","thumb-down"],["Nieaktualne treści","outOfDate","thumb-down"],["Problem z tłumaczeniem","translationIssue","thumb-down"],["Problem z przykładami/kodem","samplesCodeIssue","thumb-down"],["Inne","otherDown","thumb-down"]],["Ostatnia aktualizacja: 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)."]]