Help Google choose the right canonical URL for your duplicate pagesIf you have a single page that's accessible by multiple URLs, or different pages with similar content (for example, a page with both a mobile and a desktop version), Google sees these as duplicate versions of the same page. Google will choose one URL as the canonical version and crawl that, and all other URLs will be considered duplicate URLs and crawled less often. Show
If you don't explicitly tell Google which URL is canonical, Google will make the choice for you, or might consider them both of equal weight, which might lead to unwanted behavior, as explained in Reasons to choose a canonical URL. What is a canonical URL? A canonical URL is the URL of the page that Google thinks is most representative from a set of duplicate pages on your site. For example, if you have URLs for the same page ( The pages don't need to be absolutely identical; minor changes in sorting or filtering of list pages don't make the page unique (for example, sorting by price or filtering by item color). The canonical URL can be in a different domain than a duplicate URL. How Google indexes and chooses the canonical URLWhen Google indexes a site, it tries to determine the primary content of each page. If Google finds multiple pages on the same site that seem to be the same, it chooses the page that it thinks is the most complete and useful, and marks it as canonical. The canonical page will be crawled most regularly; duplicates are crawled less frequently in order to reduce the crawling load on your site. Google chooses the canonical page based on a number of factors (or signals), such as whether the page is served via HTTP or HTTPS, page quality, presence of the URL in a sitemap, and any Different language versions of a single page are considered duplicates only if the main content is in the same language (that is, if only the header, footer, and other non-critical text is translated, but the body remains the same, then the pages are considered to be duplicates). Google uses the canonical pages as the main sources to evaluate content and quality. A Google Search result usually points to the canonical page, unless one of the duplicates is explicitly better suited for a user. For example, the search result will probably point to the mobile page if the user is on a mobile device, even if the desktop page is marked as canonical. Reasons for having similar or duplicate pagesThere are valid reasons why your site might have different URLs that point to the same page, or have duplicate or very similar pages at different URLs. Here are the most common reasons:
Reasons to choose a canonical URLThere are a number of reasons why you would want to explicitly choose a canonical page in a set of duplicate or similar pages:
Learn which page Google considers canonicalUse the URL Inspection tool to learn which page Google considers canonical. Even if you explicitly designate a canonical page, Google might choose a different canonical for various reasons, such as performance or content. Specify a canonical pageTo specify a canonical URL for duplicate URLs or similar pages, choose one of the following methods. While we encourage you to use any of these methods, none of them are required. If you don't indicate a canonical URL, we'll identify what we think is the best version or URL. Be sure to follow the general guidelines.
General guidelinesFor all canonicalization methods, follow these general guidelines:
Prefer HTTPS over HTTP for canonical URLsGoogle prefers HTTPS pages over equivalent HTTP pages as canonical, except when there are issues or conflicting signals such as the following:
Although our systems prefer HTTPS pages over HTTP pages by default, you can ensure this behavior by taking any of the following actions:
To prevent Google from incorrectly making the HTTP page canonical, avoid the following practices:
Use a rel="canonical" link tagTo indicate when a page is a duplicate of another page, you can use a Suppose you want
Use absolute paths rather than relative paths with the Recommended: Not recommended: If you use JavaScript to add the If you can configure your server, you can use a Google currently supports this method for web search results only. If you expose a PDF file through multiple URLs, you can return a Link: <http://www.example.com/downloads/white-paper.pdf>; rel="canonical" The recommendations for the Use a sitemapPick a canonical URL for each of your pages and submit them in a sitemap. All pages listed in a sitemap are suggested as canonicals; Google will decide which pages (if any) pages are duplicates, based on similarity of content. We don't guarantee that we'll consider the sitemap URLs to be canonical, but it is a simple way of defining canonicals for a large site, and sitemaps are a useful way to tell Google which pages you consider most important on your site. Don't include non-canonical pages in a sitemap. If you're using a sitemap, specify only canonical URLs in the sitemap. Use 301 redirects for retired URLsUse this method when you want to get rid of existing duplicate pages, but need to ensure a smooth transition before you retire the old URLs. Suppose your page can be reached in multiple ways:
Pick one of those URLs as your canonical URL, and use If
you are on a website hosting service, do a search for their documentation on setting up TroubleshootingIf a canonical URL is in a property that you don't own, you won't be able to see any of the traffic for your duplicate page. Here are some common reasons that a canonical can exist in a separate property:
|