The same page can be reachable under several URLs: with and without www, over HTTP and HTTPS, with tracking parameters or in different letter case. Canonical tags and redirects tell Google which URL you prefer. Google makes the final choice itself, based on all signals.
Check the host variants first: HTTP, HTTPS, with and without www should reach one single URL through a 301 or 308. Then the canonical tags: one element in the head, an absolute URL, and a target that responds directly with 200 and matches the sitemap and internal links.
43 rules35 run dailyGoogle evidence checked on
Backed by Google20 · 47%
Google’s documentation recommends what the rule checks.
Partly backed21 · 49%
Google backs part of the rule. The rest goes further or is narrower.
No Google statement2 · 5%
Google does not address it directly. That does not make the rule useless.
Canonicals and redirects 30
Backed by GoogleRuns daily
The canonical is an absolute HTTP or HTTPS URL
Check
Reads the href of every canonical tag. Fails when it is empty, malformed, not an HTTP or HTTPS URL, or breaks the policy requiring absolute URLs.
Fix
Write out the full preferred URL, including scheme and host.
Google
Google recommends absolute rather than relative paths. Google does support relative paths, but they can cause trouble later, for example if a test site gets crawled by accident.
Compares the <link rel="canonical"> target with rel="canonical" in the HTTP Link header. Fails when they identify different resources. Paths are neither lowercased nor stripped of a trailing slash for the comparison.
Fix
Make both declarations point to the same preferred URL, or drop one of them.
Google
Google explicitly advises against giving different canonical URLs for one page through different methods. Using both methods at once is not a problem while they agree.
Looks for hreflang, lang, media and type attributes on every <link rel="canonical">. Fails when any of them is present. id, class and data-* are harmless.
Fix
Remove those attributes and declare language or media variants in separate <link rel="alternate"> elements.
Google
Google ignores rel="canonical" annotations that carry hreflang, lang, media or type for canonicalization, because they suggest alternate versions.
Compares the scheme of the canonical URL, including protocol-relative values, with the preferred scheme. Fails when, for example, a page canonicalizes to HTTP although HTTPS is preferred.
Fix
Use the preferred scheme in the canonical and redirect the other variant.
Google
Two points in Google's documentation apply: redirect HTTP to HTTPS, and avoid conflicting canonical signals. An HTTP variant that canonicalizes to HTTPS can therefore be correct.
For each canonical that points to another URL, fetches the target and reads its robots meta tags and X-Robots-Tag. An effective noindex on the target fails the rule.
Fix
Choose an indexable target, or remove the accidental noindex from it.
Google
Google says noindex removes a page from Search, so it cannot serve as the canonical meant to appear there. A missing noindex does not prove the page is indexed.
Compares a page's canonical tag, sitemap entry, internal links and hreflang annotations. Fails when they diverge through obsolete hosts, redirected variants or wrong pages.
Fix
Generate every URL from one preferred-URL policy, keeping each language version as its own URL in hreflang.
Google
Google explicitly advises against naming different canonical URLs through different methods. With hreflang, the canonical should be in the same language, or the best available substitute language.
Requests known equivalent variants that differ only in letter case. Fails when one serves its own page against the policy instead of redirecting to the preferred URL.
Fix
Redirect equivalent variants selectively, and leave routes where case carries meaning untouched.
Google
Google treats URLs that differ in case as distinct URLs. If your server treats them the same, Google recommends one consistent case and redirects to the preferred URL.
HTTP URLs permanently redirect to their HTTPS equivalent
Check
Requests pages over HTTP and follows the redirects. Fails when HTTP serves its own copy, redirects back to HTTP, or does not reach the same page over HTTPS through a 301 or 308.
Fix
Configure an HTTP-to-HTTPS redirect at the server or edge that covers every path and keeps the path intact.
Google
Google recommends redirecting HTTP pages to HTTPS and using server-side redirects for permanent moves. Both 301 and 308 signal a permanent move.
For redirects the owner confirms as permanent, such as after a move or merge, reads the status code. Fails on a temporary code such as 302 or 307.
Fix
Switch permanent moves to 301 or 308, and leave deliberately temporary redirects as they are.
Google
For lasting URL changes, Google recommends server-side redirects, and both 301 and 308 mark a permanent move. Temporary redirects remain correct for temporary purposes.
Alternate hosts permanently redirect to the preferred host
Check
Requests every equivalent host variant, such as with and without www. Fails when one serves its own copy or does not reach the preferred host through a 301 or 308.
Fix
Pick one preferred host and permanently redirect every other variant to it at the server or edge.
Google
Google's advice is to choose one of several equivalent URLs as canonical and redirect the others to it, permanently with 301 or 308 where possible. With or without www is your choice.
Applies to pages or templates where the owner requires a canonical. Fails when neither a <link rel="canonical"> nor a Link header with rel="canonical" provides a non-empty value.
Fix
Add the intended canonical in the HTML or as a Link header.
Google
Google supports canonical declarations but does not require them and says sites usually do fine without one. The requirement here comes only from the owner's policy.
For each canonical that points to another host, checks that the target is an equivalent page the owner has approved. Fails on an unapproved or unrelated target.
Fix
Document intentional cross-host canonicals such as syndication, and replace accidental ones with the correct canonical URL.
Google
Google describes canonical hints for duplicate or very similar pages. It does not recommend them against duplication by syndication partners; it says partners blocking indexing of their copy works better.
The canonical points straight to the final canonical URL
Check
Fetches the canonical target and reads its own canonical. Fails when the target names yet another URL. HTTP redirects and loops are covered by separate rules.
Fix
Enter the final canonical URL directly.
Google
A stable final target fits Google's advice against conflicting canonical signals. The documentation contains no explicit ban on canonical chains.
Follows canonical targets from page to page. Fails when the path returns to an already visited page via another page, for example when A names B and B names A. A self-reference is not a loop.
Fix
Point every page in the loop directly to one final canonical URL.
Google
Google advises consistent canonical signals without contradictions, which argues against loops. The documentation has no explicit rule on canonical loops.
Each page has at most one canonical tag in its HTML
Check
Counts the <link rel="canonical"> elements in the HTML. More than one fails the rule, even if they all name the same URL.
Fix
Find what generates the extra element, such as a plugin or layout, and keep only the intended one.
Google
Google explicitly discourages conflicting canonical declarations. The rule goes further and asks for a single element, even when identical duplicates do not conflict.
Pages with both noindex and a canonical follow a clear intent
Check
Looks at pages that carry noindex themselves and canonicalize to another URL. Fails when the noindex is accidental and contradicts the indexing or consolidation policy.
Fix
Implement the intended strategy, and remove noindex only once the intent is clear.
Google
Google advises against using noindex to steer canonical selection within a site, because it removes the page from Search entirely. rel="canonical" is the preferred tool for that.
Requests each canonical target with HEAD, falling back to GET. Fails when it answers with a redirect status and a Location header. A 304 is not a redirect, and errors leave the result open.
Fix
Replace the canonical target with the URL it redirects to, provided that is the preferred page.
Google
Direct targets avoid detours and fit Google's advice on consistent signals. The current documentation does not say that Google ignores or rejects canonical targets that redirect.
Fetches every canonical target. Fails when it points to a dead host, an error, an obsolete domain or a URL that redirects.
Fix
Set the canonical directly to the current final URL of the preferred page.
Google
A live, equivalent target fits Google's canonicalization guidance. The current documentation does not say that every redirecting canonical target is invalid.
Supported host aliases resolve and have a valid TLS certificate
Check
For each host the owner supports, such as with and without www, checks DNS resolution and the TLS certificate. Fails when the DNS record is missing or a placeholder, or an invalid certificate blocks access.
Fix
Set up DNS and a matching certificate for each supported host before redirecting it.
Google
Google says the certificate must match the full host name or be a wildcard certificate. Which host variants must be reachable is the owner's decision, not Google's.
Follows each redirect chain step by step. Fails when a redirect leads back to a URL already visited. /path and /path/ count as different URLs; a trace cut off without a repeat leaves the result open.
Fix
Correct the redirect rules so every chain ends at the intended destination.
Google
Google advises redirecting straight to the final destination and keeping chains short; a loop never reaches one. Google does not describe a specific detection method.
A Refresh header does not stand in for an HTTP redirect
Check
Reads the HTTP Refresh header on URLs that moved or should redirect. Fails when it replaces a feasible 3xx redirect. A Refresh without a target URL that only reloads the page does not count.
Fix
Replace the Refresh header with a 301 or 308 for permanent moves, or a suitable temporary status for temporary ones.
Google
Google prefers server-side redirects where possible but also accepts Refresh. The rule therefore fails only when a server redirect would be feasible.
Moves of public URLs do not depend on JavaScript alone
Check
For public URLs that have moved, checks whether the HTTP response itself redirects. Fails when the move happens only in JavaScript. A match in the source must be confirmed at runtime.
Fix
Implement a server-side redirect for the move.
Google
Google prefers server-side redirects but runs JavaScript after crawling and processes JavaScript redirects too. Google does not say such redirects are invisible or invalid.
Meta refresh does not stand in for an HTTP redirect
Check
Looks for <meta http-equiv="refresh"> on URLs that moved or should redirect. Fails when it replaces a feasible HTTP redirect. A refresh that only reloads the page does not count.
Fix
Switch to an HTTP redirect, using 301 or 308 for permanent moves.
Google
Where possible, Google recommends server-side redirects. Meta refresh is the fallback when that is not possible: Google reads an instant one as permanent and a delayed one as temporary.
Inner pages canonicalize to the homepage only when the content matches
Check
Finds inner pages whose canonical points to the homepage of the same site. Fails when the inner page has distinct content. The root path of another host does not automatically count as the homepage.
Fix
Point each inner page to its own equivalent URL instead of the homepage across the board.
Google
Google describes canonical hints for duplicate or very similar pages. A distinct inner page is not a duplicate of the homepage.
For moves and retired pages, compares each old URL with its destination. Fails when distinct pages collapse onto the homepage or a hub, or lose the meaning of their path and query.
Fix
Map each old URL to its closest genuine replacement, and restore useful content where no replacement exists.
Google
For site moves, Google recommends mapping old URLs to new ones and redirecting permanently on the server according to that map. Any reachable destination does not qualify.
Redirects reach their target without unnecessary hops
Check
Follows each redirect to its end. Fails on a reproducible loop or an avoidable intermediate hop. A single redirect is normal.
Fix
Redirect straight to the final URL, and point internal links there directly too.
Google
Google advises redirecting straight to the final destination. Googlebot follows up to 10 hops; if a chain cannot be avoided, keep it short, ideally no more than 3.
The canonical tag names the intended preferred page
Check
Compares each page's canonical target with the owner's canonical policy. Fails when the canonical is missing although the policy requires one, conflicts, or names the wrong page, for example when every page points to the homepage.
Fix
Generate exactly one correct canonical per page, and canonicalize only to pages with equivalent content.
Google
Google describes canonical hints for duplicate or very similar pages and advises against conflicting signals. None of the methods is required, and Google makes the final canonical choice itself.
Follows each redirect to its end and assesses the final response. Fails when that is demonstrably an error or unsuitable content. Aborted or incomplete traces leave the result open.
Fix
Repair the destination, or redirect to a working page instead.
Google
Google's advice is to redirect to mapped new destinations. The rule checks more than the status code, namely whether the destination fits, and passing it does not prove indexing.
Compares the letter case of generated paths with the intended form. Fails on unintended casing, such as /Pricing instead of /pricing. Uppercase in locale codes, IDs or file names can be valid; percent-encoding hex digits are ignored.
Fix
Update the generated links, and redirect only variants proven to be equivalent.
Google
Google treats paths that differ in case as distinct URLs and recommends one consistent case when the server treats them alike. Uppercase letters are not wrong in themselves.
Decodes every percent sequence in the path and re-encodes it. Fails on malformed sequences, such as %G1 or a % without two hex digits, or when the encoding breaks the expected convention.
Fix
Correct the encoding where URLs are generated, and keep localized paths with non-ASCII characters.
Google
Google requires reserved characters to be percent-encoded according to the standard. Valid Unicode slugs, such as ones with German umlauts, are not affected by this rule.
Looks for underscores used as word separators in editorial slugs, such as new_features. Fails when they break the hyphen convention. Underscores in IDs and technical paths are exempt.
Fix
Use hyphens in new slugs, and migrate existing URLs only when the benefit justifies the change.
Google
Google explicitly recommends hyphens over underscores to separate words, as this helps users and search engines identify concepts. Google states no penalty for underscores.
For URLs that verifiably differ only by tracking parameters such as utm_source, checks the canonical and internal links. Fails when they contradict the consolidation policy instead of pointing to the clean URL.
Fix
Set the canonical to the clean URL and link internally without tracking parameters, while keeping campaign attribution working.
Google
Google supports consolidating duplicate or very similar URLs with canonical hints and advises against conflicting signals. Parameter names alone do not prove that a URL is a tracking-only variant.
Inspects the path and query of public URLs for real session tokens. Fails when a confirmed token appears. A parameter name such as sid alone is not proof.
Fix
Keep sessions in secure cookies and remove links that carry a token.
Google
Google cites session IDs in URLs as an example of problematic variants that inflate the number of URLs. The rule goes further and also covers privacy and security.
Repeated slashes in paths follow the routing policy
Check
Looks for consecutive slashes such as // in the path. Fails when they create a wrong route or an alias URL against the policy. The slashes after the scheme are left alone.
Fix
Repair the URL generation, and redirect variants proven to be equivalent.
Google
According to Google, repeated slashes in a path are valid syntax but not user-friendly and may confuse some crawlers. Google does not ban them.
Looks for spaces, encoded as %20, in new slugs. Fails when they break the agreed separator convention. Spaces in query values are ordinary data and do not count.
Fix
Separate words in new slugs with the agreed character; change existing URLs only for a clear benefit.
Google
For word separators in URLs, Google recommends hyphens. The convention for new slugs is the owner's choice, and encoded spaces are not malformed as such.
Counts each URL's query parameters and compares them with the owner's budget. Fails when unnecessary parameters exceed it and create unwanted URL variants.
Fix
Drop parameters that do not change the content, and keep those that carry real state.
Google
Google advises trimming parameters that do not change the content, since many variants waste crawling. Google names no fixed parameter limit.
Assesses editorial slugs, not technical IDs. Fails when a slug is needlessly generic, such as page-1 instead of a descriptive term, and so breaks the editorial policy.
Fix
Give new pages descriptive slugs; change existing ones only when the benefit justifies the effort.
Google
Google recommends readable words rather than long ID numbers in URLs where possible.
Retired duplicate URLs redirect to their chosen replacement
Check
For pages retired after a merge or platform change, checks the response. Fails when the duplicate is still live, breaks without a planned transition, or redirects to an unrelated destination.
Fix
Move useful material into the chosen page and redirect the duplicate there with a 301 or 308.
Google
Permanent redirects are Google's recommended tool when deprecating a duplicate page; they show that the old URL is the lesser version. In moves, destinations should follow a prepared URL map.
Equivalent pages have a deliberate ownership decision
Check
Looks for pages that serve the same user need. Fails when two of them duplicate one role with no preferred version and no clear differentiation. Shared keywords alone do not prove cannibalization.
Fix
Merge the useful material or sharpen each page's purpose; use a permanent redirect only when you retire an equivalent page.
Google
Google suggests reducing unnecessary duplicate content, since it can hurt users and waste crawling resources. Google does not prescribe whether to merge, canonicalize or retire.