1. Analyze the Request:
* Topic: Sitewide Canonical Policy.
* Scope: Duplicates, UTM parameters, and Syndication.
* Goal: Create a draft policy document that an SEO manager or technical lead could hand to developers or stakeholders to implement correct canonicalization.
-
Determine the Structure of a Policy Document:
A good technical policy needs:
- Objective: Why are we doing this? (SEO equity, crawl efficiency).
- General Rule: The "Golden Rule" of canonicals.
- Specific Scenarios:
- Internal Duplicates (parameters, variants).
- External Duplicates (Syndication).
- Tracking (UTMs).
- Implementation Guidelines: Technical specs (HTTPS, absolute URLs).
- Exceptions: When not to use them.
- Maintenance: Auditing.
-
Drafting - Section by Section:
-
Header: Title, Version, Owner.
-
1. Executive Summary/Objective:
- Thought: Focus on consolidating ranking signals and preventing "keyword cannibalization" or duplicate content penalties (though "penalty" is a strong word, "devaluation" is better). Let's stick to "consolidating equity."
-
2. The Golden Rule (Self-Referencing):
- Thought: Every page should have a canonical tag. Even unique pages should point to themselves. This prevents parameter scrapes or unknown duplicates from splitting equity.
- Drafting: "All indexable pages must contain a self-referencing canonical tag by default."
-
3. Handling UTM Parameters (Campaign Tracking):
- Thought: This is a common pain point.
site.com?utm_source=twitter creates a duplicate URL in Google's eyes.
- Strategy:
- Google ignores many UTMs, but not always.
- Best practice: Strip parameters in the canonical tag.
- Also need to mention
rel="canonical" vs. Google Search Console parameter handling. Let's focus on the code implementation.
- Policy: The canonical URL must point to the "clean" (naked) URL, stripping UTM parameters.
-
4. Internal Duplicates & URL Parameters (Facets/Filters):
- Thought: What about sorting?
sort=price_desc.
- Strategy:
- If it changes content significantly and is useful (e.g., a distinct category), maybe keep it.
- If it's just a view change (sort, filter), canonicalize back to the parent category.
- Drafting: Distinguish between "Indexable Parameters" (rare) and "Non-Indexable Parameters" (common).
-
5. Syndication & Cross-Posting (External Duplicates):
- Scenario: We publish a blog post, then put it on Medium or LinkedIn.
- Strategy: The canonical on the external site should point to our site (the original source).
- Policy:
- We (Original Source): Keep self-referencing.
- Partners (Syndicators): Must include
rel="canonical" pointing back to our original URL. If they refuse, use noindex or a clear link attribution, but canonical is best.
- Scenario 2: We are the syndicator (importing content). Canonical to the source.
-
6. Technical Implementation Specs:
- Thought: How should the code look?
- Checklist:
- Absolute URLs (not relative).
https://...
- Consistency (Trailing slashes vs. non-trailing).
- Protocol (HTTPS).
- Case sensitivity (Lowercase preferred).
-
7. Protocol & Enforcement (The "Process"):
- Thought: How do we ensure this happens? QA process, Screaming Frog audits, Google Search Console monitoring.
-
Refining and Polishing:
- Tone: Professional, technical, authoritative yet clear.
- Formatting: Use bolding, lists, and code blocks for readability.
- Review against specific prompt requirements:
- Duplicates? Covered.
- UTMs? Covered.
- Syndication? Covered.
-
Self-Correction/Edge Cases during drafting:
- Edge Case: What about pagination? (rel=next/prev is deprecated by Google, but canonical should point to the specific page view, not page 1, usually). Let's stick to the core request to keep it concise, but maybe add a small note about pagination.
- Correction: Ensure the distinction between "URL parameters" in general and "UTMs" specifically is clear. UTMs are for tracking; parameters can be for site function.
-
Final Output Generation: (This matches the provided good response).
- Structure: Overview -> Core Principles -> Specific Scenarios (UTMs, Dupes, Syndication) -> Technical Requirements -> Enforcement.
-
Final Polish: Add a "Why this matters" section to sell it to non-SEOs.
(Self-Correction during drafting the final response): I should make sure to explicitly mention https vs http. That's a common canonical failure point. Also, specify that canonicals are a "strong hint," not a directive, to manage expectations.
- Constructing the Final Response. (Proceeding to generate output).
Here is a comprehensive draft for a Sitewide Canonical Policy. This document is designed to be distributed to developers, content strategists, and marketing teams to ensure consistency in technical SEO implementation.
Sitewide Canonicalization Policy
Version: 1.0
Scope: All public-facing URLs under the primary domain.
Objective: To consolidate ranking signals, prevent duplicate content penalties, and ensure correct URL indexing by search engines.
1. The Golden Rule: Self-Referencing
By default, every indexable page on the website must contain a canonical tag.
- Policy: If a page exists at
https://www.example.com/page, the HTML <head> must contain:
<link rel="canonical" href="https://www.example.com/page" />
- Rationale: This prevents third-party scrapers or accidental URL parameters (e.g.,
session_id) from being indexed as the "original" version of the content.
2. Handling UTM Parameters & Tracking Codes
Marketing teams frequently append UTM parameters for tracking. These URLs are often shared on social media or in emails.
- Policy:
- Canonical tags must ignore UTM parameters.
- The canonical URL must point to the "clean" (naked) URL.
- Implementation:
- Incoming URL:
https://example.com/product?utm_source=twitter&utm_medium=social
- Canonical Tag:
<link rel="canonical" href="https://example.com/product" />
- Rationale: Google considers
example.com/page and example.com/page?utm_source=x as two different URLs. If we do not strip the parameters in the canonical tag, we split our link equity (PageRank) across multiple variations of the same page.
3. Internal Duplicates & URL Parameters
Internal search results, filtering, and sorting often generate URL variations.
A. Facets/Filters (Color, Size, Price)
- Policy: If a filtering parameter changes the content significantly enough to be a distinct landing page (e.g., "Red Shoes"), it may be canonicalized to itself. However, standard filtering usually creates thin content.
- Standard Implementation: Most filter parameters should canonicalize back to the Parent Category.
- URL:
example.com/shoes?color=red
- Canonical:
<link rel="canonical" href="https://example.com/shoes" />
B. Session IDs & User Identifiers
- Policy: URLs generated with Session IDs must always canonicalize to the clean URL.
- URL:
example.com/cart?sid=12345
- Canonical:
<link rel="canonical" href="https://example.com/cart" />
4. Syndication & Cross-Posting
When our content is published on partner websites or subdomains, we must strictly define ownership to ensure we retain the SEO value.
A. Content Syndication (Outbound)
If we allow a partner site to republish our blog content:
- The Partner must include a canonical tag pointing back to our original URL.
- Partner Page:
partner-site.com/article
- Partner Canonical:
<link rel="canonical" href="https://oursite.com/article" />
- If the partner refuses to use a canonical tag, they must implement
noindex tags or use a rel="nofollow" attribute on links to avoid outranking us.
B. Subdomains (e.g., blog.site.com vs site.com/blog)
- Policy: All canonical tags must point to the primary domain (
site.com).
- If the content lives on
blog.site.com, the canonical tag should point to https://www.site.com/blog.
- Note: This consolidates all domain authority into a single entity rather than splitting it between the root domain and the subdomain.
5. Protocol & Domain Consistency (HTTPS vs. HTTP)
- Policy: All canonical URLs must use the HTTPS protocol and include the www (or non-www) designation consistent with the chosen preferred domain in Google Search Console.
- Implementation:
- Incorrect:
<link rel="canonical" href="http://example.com/page" />
- Correct:
<link rel="canonical" href="https://www.example.com/page" />
6. Technical Requirements for Developers
To implement this policy effectively, the CMS or server environment must adhere to the following logic:
- Absolute URLs Only: Canonical tags must always contain the full path (including protocol and domain). Relative paths (
/page) are strictly prohibited.
- Case Sensitivity: The canonical logic must respect case sensitivity.
example.com/Page and example.com/page should be treated as duplicates only if the server serves the same content. Ideally, the canonical should match the casing of the navigation link.
- Pagination (rel="next/prev"): If the site uses pagination, the canonical tag on Page 2 should point to Page 2 (self-referencing), not Page 1. Do not chain canonicals.
- Redirects vs. Canonicals:
- If the page is permanently moved (410 or 301 redirect), do not serve a canonical tag. Serve the redirect header.
- Canonical tags are for pages that are accessible but duplicates.
7. Enforcement & Auditing
- Frequency: The SEO team will run a monthly crawl using [Screaming Frog/Semrush/Ahrefs].
- KPIs:
- 100% of indexable pages must have a canonical tag.
- Zero canonical chains (A points to B, B points to C).
- Zero cross-domain canonical errors (pointing to staging/dev environments).