{
    "title": "The canonical is missing or written wrongly",
    "description": "The page has no canonical, or one Google cannot use: a relative address, in the wrong place, with a # part, or a near miss of the real address.",
    "url": "https://ursy.com/issues/canonical-missing-or-malformed/",
    "canonical": "https://ursy.com/issues/canonical-missing-or-malformed/",
    "markdown": "https://ursy.com/issues/canonical-missing-or-malformed/index.md",
    "json": "https://ursy.com/issues/canonical-missing-or-malformed/index.json",
    "published": "2026-11-29T21:57:23+00:00",
    "updated": "2026-11-30T12:53:03+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/canonical-missing-or-malformed/",
    "start_here": {
        "page": "https://ursy.com/issues/canonical-missing-or-malformed/",
        "markdown": "https://ursy.com/issues/canonical-missing-or-malformed/index.md",
        "json": "https://ursy.com/issues/canonical-missing-or-malformed/index.json",
        "cite": "Name URSY.com and link the page you used.",
        "doors": {
            "llms_txt": "https://ursy.com/llms.txt",
            "facts": "https://ursy.com/facts.json",
            "mcp": "https://ursy.com/mcp/",
            "openapi": "https://ursy.com/.well-known/openapi.json"
        }
    },
    "issue": {
        "slug": "canonical-missing-or-malformed",
        "problem": "The canonical is missing or written wrongly",
        "summary": "The page has no canonical, or one Google cannot use: a relative address, in the wrong place, with a # part, or a near miss of the real address.",
        "status": "Live",
        "priority": "medium",
        "category": "indexing",
        "category_title": "Indexing and canonicals",
        "why_it_matters": [
            "A canonical link tells search engines which address is the main one when the same page can be reached in several ways, for example with and without tracking parameters. It is optional, but without one Google chooses for itself, and it may not choose the address you want.",
            "A canonical only helps when it is written in a way Google accepts. Google asks for a full address, with https:// and the host name. It reads rel=\"canonical\" only in the head, and treats the head as ended when it meets an element that does not belong there, such as an image or an iframe. An address with a # part, the http version of an https page, or a near copy of the real address with a different slash or capital letters sends a weak or wrong signal."
        ],
        "how_to_fix": [
            "Give every page one canonical in the head that names its own full, final address, exactly as it answers: same scheme, host, path and slash. Put it near the top of the head, before anything that might add other elements, and leave out # parts and extra attributes.",
            "On WordPress your SEO plugin writes the canonical; check that the site address in Settings, General uses https. Test with the Canonical Tag Checker."
        ],
        "steps": [
            "Find the canonical in the page source.",
            "Make it a full https address that matches the page exactly.",
            "Move it into the head, near the top.",
            "Check the page again."
        ],
        "check_it_is_fixed": "Run the URSY.com Canonical Tag Checker (/canonical-checker/) on the page. It should find one canonical in the head that exactly matches the final address.",
        "found_by": [
            {
                "tool": "canonical-checker",
                "name": "Canonical Tag Checker",
                "status": "Live",
                "page": "https://ursy.com/canonical-checker/",
                "card": "https://ursy.com/canonical-checker.json"
            },
            {
                "tool": "meta-tag-checker",
                "name": "Meta Tag Checker",
                "status": "Live",
                "page": "https://ursy.com/meta-tag-checker/",
                "card": "https://ursy.com/meta-tag-checker.json"
            },
            {
                "tool": "ai-readiness-checker",
                "name": "AI Readiness Checker",
                "status": "Live",
                "page": "https://ursy.com/ai-readiness-checker/",
                "card": "https://ursy.com/ai-readiness-checker.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/canonical-missing-or-malformed",
        "source": {
            "url": "https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls",
            "title": "Google Search Central: How to specify a canonical URL"
        },
        "cite": "The canonical is missing or written wrongly. URSY.com. https://ursy.com/issues/canonical-missing-or-malformed/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#what-it-looks-like-fixed"
        },
        {
            "level": 2,
            "text": "Fix it with your AI assistant",
            "id": "fix-it-with-your-ai-assistant",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#fix-it-with-your-ai-assistant"
        },
        {
            "level": 2,
            "text": "Fix it on your platform",
            "id": "fix-it-on-your-platform",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#wordpress"
        },
        {
            "level": 3,
            "text": "Shopify",
            "id": "shopify",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#shopify"
        },
        {
            "level": 3,
            "text": "Wix",
            "id": "wix",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#wix"
        },
        {
            "level": 3,
            "text": "A hand-made site",
            "id": "a-hand-made-site",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#a-hand-made-site"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#questions"
        },
        {
            "level": 3,
            "text": "Is a canonical required?",
            "id": "is-a-canonical-required",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#is-a-canonical-required"
        },
        {
            "level": 3,
            "text": "Does a trailing slash really matter?",
            "id": "does-a-trailing-slash-really-matter",
            "url": "https://ursy.com/issues/canonical-missing-or-malformed/#does-a-trailing-slash-really-matter"
        }
    ],
    "links": [
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "search engines",
            "url": "https://ursy.com/wiki/search-engine/",
            "internal": true
        },
        {
            "text": "iframe",
            "url": "https://ursy.com/wiki/iframe/",
            "internal": true
        },
        {
            "text": "SEO",
            "url": "https://ursy.com/wiki/seo-search-engine-optimisation/",
            "internal": true
        },
        {
            "text": "Canonical Tag",
            "url": "https://ursy.com/wiki/canonical-tag/",
            "internal": true
        },
        {
            "text": "trailing slash",
            "url": "https://ursy.com/wiki/trailing-slash/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "Google Search Central: How to specify a canonical URL",
            "url": "https://developers.google.com/search/docs/crawling-indexing/consolidate-duplicate-urls",
            "internal": false
        }
    ],
    "words": 732,
    "text": "The page has no canonical, or one Google cannot use: a relative address, in the wrong place, with a # part, or a near miss of the real address. Why it matters A canonical link tells search engines which address is the main one when the same page can be reached in several ways, for example with and without tracking parameters. It is optional, but without one Google chooses for itself, and it may not choose the address you want. A canonical only helps when it is written in a way Google accepts. Google asks for a full address, with https:// and the host name. It reads rel=\"canonical\" only in the head, and treats the head as ended when it meets an element that does not belong there, such as an image or an iframe. An address with a # part, the http version of an https page, or a near copy of the real address with a different slash or capital letters sends a weak or wrong signal. How to fix it Give every page one canonical in the head that names its own full, final address, exactly as it answers: same scheme, host, path and slash. Put it near the top of the head, before anything that might add other elements, and leave out # parts and extra attributes. On WordPress your SEO plugin writes the canonical; check that the site address in Settings, General uses https. Test with the Canonical Tag Checker. Find the canonical in the page source. Make it a full https address that matches the page exactly. Move it into the head, near the top. Check the page again. What the problem looks like <body> <img src=\"/logo.png\" alt=\"Example\"> <link rel=\"canonical\" href=\"/shoes/red-trainers\"> A relative address, placed after an image in the body, and without the trailing slash the real address has. What it looks like fixed <head> <meta charset=\"utf-8\"> <title>Red trainers | Example</title> <link rel=\"canonical\" href=\"https://www.example.com/shoes/red-trainers/\"> </head> A full https address that matches the page exactly, near the top of the head. Fix it with your AI assistant Paste this into ChatGPT, Claude, Gemini or your coding agent, and fill in the words in square brackets: My website [your website address] runs on [your platform, e.g. a hand-built PHP site]. A check says [the page address] has no canonical, or one Google cannot use. First fetch the page and show me its canonical, where it sits in the HTML, and the exact address the page answers on after any redirects (or ask me to paste the source). Tell me in plain words what is wrong: missing, relative, outside the head, with a # part, on http, or a near miss of the real address. Then give me the exact tag: one link rel=\"canonical\" naming the full, final https address of the page, matching its host, path and trailing slash exactly, near the top of the head. If a template writes it, fix the template so every page gets its own address. Rules: back up first, do not change page addresses or remove other head tags. Finally, tell me to re-check with the URSY.com Canonical Tag Checker at ursy.com/canonical-checker/. Fix it on your platform WordPress Your SEO plugin writes the canonical for you. Check that both addresses in Settings, General start with https and use the host you want. Shopify Make sure the head of theme.liquid contains <link rel=\"canonical\" href=\"{{ canonical_url }}\">, above any app snippets. Wix Wix adds a canonical by default. If you set a custom one in the page SEO settings, check it is a full https address. A hand-made site Add one canonical link with the full address to the head of each page, before scripts, images or anything that belongs in the body. Check it is fixed Run the URSY.com Canonical Tag Checker (/canonical-checker/) on the page. It should find one canonical in the head that exactly matches the final address. Official source Google Search Central: How to specify a canonical URL Questions Is a canonical required? No, but without one Google chooses the main address itself, and it may not choose the one you want. Does a trailing slash really matter? Yes. With and without the slash are two different addresses, so the canonical should match the one the page answers on.",
    "source": "https://ursy.com/issues/canonical-missing-or-malformed/"
}