{
    "title": "hreflang addresses are not written correctly",
    "description": "hreflang addresses are not full addresses with https://, or one code points to two different pages.",
    "url": "https://ursy.com/issues/hreflang-address-format/",
    "canonical": "https://ursy.com/issues/hreflang-address-format/",
    "markdown": "https://ursy.com/issues/hreflang-address-format/index.md",
    "json": "https://ursy.com/issues/hreflang-address-format/index.json",
    "published": "2026-11-29T21:57:25+00:00",
    "updated": "2026-11-30T12:53:05+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY.com",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY.com and link https://ursy.com/issues/hreflang-address-format/",
    "start_here": {
        "page": "https://ursy.com/issues/hreflang-address-format/",
        "markdown": "https://ursy.com/issues/hreflang-address-format/index.md",
        "json": "https://ursy.com/issues/hreflang-address-format/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": "hreflang-address-format",
        "problem": "hreflang addresses are not written correctly",
        "summary": "hreflang addresses are not full addresses with https://, or one code points to two different pages.",
        "status": "Live",
        "priority": "medium",
        "category": "international",
        "category_title": "Languages and countries",
        "why_it_matters": [
            "Google says alternate addresses in hreflang must be fully-qualified, with https:// and the host name. A relative address such as /fr/ may be ignored.",
            "One code must point to one page. When the same code is listed twice with different addresses, Google cannot tell which one to show, and the versions compete with each other."
        ],
        "how_to_fix": [
            "Write every address in full, for example https://www.example.co.uk/fr/, and keep one line per code. If two pages compete for one code, choose one, or give the other its own country code, such as fr-BE.",
            "If a plugin writes the tags, check the site address in its settings. Check with the Hreflang Checker."
        ],
        "steps": [],
        "check_it_is_fixed": "Run the Hreflang Checker again: every address should be fully-qualified, and each code should appear only once.",
        "found_by": [
            {
                "tool": "hreflang-checker",
                "name": "Hreflang Checker",
                "status": "Live",
                "page": "https://ursy.com/hreflang-checker/",
                "card": "https://ursy.com/hreflang-checker.json"
            }
        ],
        "full_record": "https://ursy.com/wp-json/ursy/v1/issues/hreflang-address-format",
        "source": {
            "url": "https://developers.google.com/search/docs/specialty/international/localized-versions",
            "title": "Google Search Central: Tell Google about localized versions of your page"
        },
        "cite": "hreflang addresses are not written correctly. URSY.com. https://ursy.com/issues/hreflang-address-format/"
    },
    "headings": [
        {
            "level": 2,
            "text": "Why it matters",
            "id": "why-it-matters",
            "url": "https://ursy.com/issues/hreflang-address-format/#why-it-matters"
        },
        {
            "level": 2,
            "text": "How to fix it",
            "id": "how-to-fix-it",
            "url": "https://ursy.com/issues/hreflang-address-format/#how-to-fix-it"
        },
        {
            "level": 3,
            "text": "What the problem looks like",
            "id": "what-the-problem-looks-like",
            "url": "https://ursy.com/issues/hreflang-address-format/#what-the-problem-looks-like"
        },
        {
            "level": 3,
            "text": "What it looks like fixed",
            "id": "what-it-looks-like-fixed",
            "url": "https://ursy.com/issues/hreflang-address-format/#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/hreflang-address-format/#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/hreflang-address-format/#fix-it-on-your-platform"
        },
        {
            "level": 3,
            "text": "WordPress",
            "id": "wordpress",
            "url": "https://ursy.com/issues/hreflang-address-format/#wordpress"
        },
        {
            "level": 3,
            "text": "A hand-made site",
            "id": "a-hand-made-site",
            "url": "https://ursy.com/issues/hreflang-address-format/#a-hand-made-site"
        },
        {
            "level": 2,
            "text": "Check it is fixed",
            "id": "check-it-is-fixed",
            "url": "https://ursy.com/issues/hreflang-address-format/#check-it-is-fixed"
        },
        {
            "level": 2,
            "text": "Official source",
            "id": "official-source",
            "url": "https://ursy.com/issues/hreflang-address-format/#official-source"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/issues/hreflang-address-format/#questions"
        },
        {
            "level": 3,
            "text": "Why do relative addresses not work?",
            "id": "why-do-relative-addresses-not-work",
            "url": "https://ursy.com/issues/hreflang-address-format/#why-do-relative-addresses-not-work"
        },
        {
            "level": 3,
            "text": "What if I have two French pages?",
            "id": "what-if-i-have-two-french-pages",
            "url": "https://ursy.com/issues/hreflang-address-format/#what-if-i-have-two-french-pages"
        }
    ],
    "links": [
        {
            "text": "hreflang",
            "url": "https://ursy.com/wiki/hreflang/",
            "internal": true
        },
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "ChatGPT",
            "url": "https://ursy.com/wiki/chatgpt/",
            "internal": true
        },
        {
            "text": "Google Search Central: Tell Google about localized versions of your page",
            "url": "https://developers.google.com/search/docs/specialty/international/localized-versions",
            "internal": false
        }
    ],
    "words": 547,
    "text": "hreflang addresses are not full addresses with https://, or one code points to two different pages. Why it matters Google says alternate addresses in hreflang must be fully-qualified, with https:// and the host name. A relative address such as /fr/ may be ignored. One code must point to one page. When the same code is listed twice with different addresses, Google cannot tell which one to show, and the versions compete with each other. How to fix it Write every address in full, for example https://www.example.co.uk/fr/, and keep one line per code. If two pages compete for one code, choose one, or give the other its own country code, such as fr-BE. If a plugin writes the tags, check the site address in its settings. Check with the Hreflang Checker. What the problem looks like <link rel=\"alternate\" hreflang=\"fr\" href=\"/fr/\"> <link rel=\"alternate\" hreflang=\"fr\" href=\"https://www.example.com/fr-be/\"> A relative address, and the same code pointing to two different pages. What it looks like fixed <link rel=\"alternate\" hreflang=\"fr-FR\" href=\"https://www.example.com/fr/\"> <link rel=\"alternate\" hreflang=\"fr-BE\" href=\"https://www.example.com/fr-be/\"> Full addresses with https:// and the host, and one code per page. Fix it with your AI assistant Paste this into ChatGPT, Claude, Gemini or your coding agent, and fill in the words in square brackets: Help me tidy the hreflang tags on [your website address], built with [your platform, e.g. a hand-made site or WordPress with custom code]. A checker says hreflang addresses on [the page address] are not full addresses with https://, or one code points to two different pages. First, read the page source (or ask me to paste it) and list every hreflang line, marking relative addresses and any code used more than once. Explain plainly why each is a problem. Then give me the fix: write every address in full, such as https://www.example.com/fr/, and keep one line per code; where two pages compete for one code, ask me which to keep or suggest separate country codes such as fr-FR and fr-BE. Rules: back up first, change only hreflang lines, keep page addresses the same, make the same change on every version, and do not remove versions without asking me. Give exact code and where it goes. Finally, tell me to re-check with the URSY.com Hreflang Checker at ursy.com/hreflang-checker/. Fix it on your platform WordPress If a plugin writes the tags, check the site address in Settings, General and the plugin's language settings. Relative addresses usually come from custom code. A hand-made site Write every hreflang address in full, starting with https:// and your host name, in templates and the sitemap. Check it is fixed Run the Hreflang Checker again: every address should be fully-qualified, and each code should appear only once. Official source Google Search Central: Tell Google about localized versions of your page Questions Why do relative addresses not work? Google asks for fully-qualified addresses in hreflang, with the protocol and host, and may ignore lines without them. What if I have two French pages? Give each its own country code, such as fr-FR and fr-BE, or choose one. One code must point to one page.",
    "source": "https://ursy.com/issues/hreflang-address-format/"
}