Hreflang and Country Page Audit
Running sites for many countries or languages? Hreflang only tells Google which page to show where. It does not make a page rank. This prompt checks your hreflang setup and, more importantly, finds country pages that are just copies, then shows you how to make each one worth ranking.
Example input
This is exactly what we gave the model. You replace it with your own details.
- Main website: https://www.example.com (HR and payroll software) - Markets and languages: en-US, en-GB, en-AU, de-DE - URL structure: Subfolders: / (US), /uk/, /au/, /de/ - How hreflang is added: HTML head, added by a plugin - 3-5 sample page sets (same page in each market): /pricing/, /uk/pricing/, /au/pricing/, /de/preise/ /features/payroll/, /uk/features/payroll/, /au/features/payroll/, /de/funktionen/lohnabrechnung/ /blog/how-to-run-payroll/ (US only, no other versions) - What is different between markets today: UK and AU pages are copies of the US pages with the currency changed. The German pages are translated. Pricing is the same everywhere apart from currency. Payroll rules on the UK and AU pages still talk about US tax forms. - Problem I see: UK searchers often land on the US pricing page. The /au/ pages are mostly 'Duplicate, Google chose different canonical than user'. The /uk/ and /au/ canonicals point to the US versions.
Real output
Pasted straight from the model. We did not fix a word.
International SEO audit: example.com (US, UK, AU, DE)
The short version
Your UK and AU problems have one main cause. The /uk/ and /au/ pages tell Google "I am a copy of the US page." Their canonical tags point to the US URLs. A canonical tag tells Google which URL is the main version of a page. When a page names another URL as the main one, Google ignores that page's hreflang tags. So Google has no working signal for showing /uk/pricing/ to UK searchers, and it shows /pricing/ instead.
Fixing the tags is step one. It lets Google swap in the right market URL for each searcher. It will not make the UK or AU pages rank better by itself. Hreflang is only a cross-reference that says which page fits which audience. Step two is the bigger job. Today the UK and AU pages are US pages with a different currency, and the payroll pages even describe US tax forms. Until those pages carry real local information, Google (and AI tools) will keep treating them as the same page as the US version.
Quick questions (I used my best guess for each)
- Does the product really run UK and AU payroll (RTI submissions to HMRC in the UK, Single Touch Payroll to the ATO in Australia)? Guess: yes. The product is local, only the website is not. If not, the plan for the payroll pages changes (see "When merging is smarter").
- Do you have an x-default tag, and is there hreflang in your XML sitemap? Guess: no x-default, and hreflang only in the HTML head (from the plugin), not in the sitemap.
- Do you redirect visitors by location, and do links inside /uk/ and /au/ pages point to /uk/ and /au/ URLs? Guess: no forced redirects. There is a country switcher, but because the pages were copied, many in-page links still go to US URLs.
- Is Germany your only German-speaking market, or do you also sell in Austria and Switzerland? Guess: Germany only, so de-DE stays as it is.
- Who do you have in each market? Guess: a UK sales team with some customers. AU is served from the UK or US with few customers. A small German team (someone translated the pages).
1. Hreflang error table
Items marked (check) are common plugin problems that fit your setup. I can't see your code, so confirm them by viewing the page source or running a crawler such as Screaming Frog.
| Issue | Example URL | Fix |
|---|---|---|
| Canonical points to another market. Google ignores hreflang on these pages and folds them into the US page. This is the main reason UK searchers see US pricing. | /uk/pricing/ has its canonical set to https://www.example.com/pricing/ | Every page must be canonical to itself: /uk/pricing/ → /uk/pricing/. Do this for all /uk/ and /au/ pages. |
| Hreflang points to URLs that are not canonical. The US page lists /uk/pricing/ as its UK version, but /uk/pricing/ says the US page is the main one. The two signals fight. | /pricing/ (its en-GB line points to /uk/pricing/, which points back to /pricing/) | The fix above solves this. Rule for local teams: every URL in a hreflang set must be self-canonical, load normally (status 200) and be indexable. |
| Mixed signals on /au/. "Duplicate, Google chose different canonical than user" means a page named itself as the main page and Google disagreed. If all AU canonicals pointed to the US, Search Console would normally say "Alternate page with proper canonical tag" instead. So some AU pages may point to themselves and others to the US, or the sitemap and internal links send a different message. | /au/features/payroll/ | In Search Console, run URL Inspection on 5–10 /au/ URLs. Compare "User-declared canonical" with "Google-selected canonical". After the fix, make canonicals, sitemap and internal links all agree. Google may still pick the US page while the AU content is a near copy. That is a content problem (see table 2), not a tag problem. |
Wrong region codes (check). With a folder called /uk/, plugins are often set to uk (the code for the Ukrainian language) or en-UK (not valid; the ISO code for the United Kingdom is GB). Another common mistake is plain en on all three English versions. | /uk/pricing/ | Use exactly: en-US, en-GB, en-AU, de-DE. The folder can stay /uk/. Only the hreflang value must be en-GB. |
| No x-default (guess). | Every page, e.g. https://www.example.com/ | Add x-default pointing to the US version. It becomes the fallback for everyone else, such as English speakers in Canada, Ireland or New Zealand. |
| Translated German slugs may break return links (check). If the plugin builds alternates by copying the URL path, /pricing/ will list /de/pricing/ (a 404) instead of /de/preise/. Then the German page has no confirmed partner and the link is ignored. | /pricing/ ↔ /de/preise/; /features/payroll/ ↔ /de/funktionen/lohnabrechnung/ | Link translations by page ID or translation link in the plugin, not by URL path. All 4 pages in a set must show the same 5 lines (4 markets + x-default), including a line pointing to themselves. |
| Hreflang pointing to pages that don't exist, redirect or are noindex (check). Plugins often add an alternate for every market even when there is no version. | /blog/how-to-run-payroll/ may list /uk/blog/how-to-run-payroll/ (404 or redirect) | A page with no other versions needs no hreflang. Remove alternates that 404, redirect or are noindex. Add the set only once a real UK/AU/DE version is live. |
| URL format must match exactly. | http vs https, example.com vs www.example.com, /uk/pricing vs /uk/pricing/ | Use full URLs starting with https://www. and ending in a trailing slash, exactly as written in the canonical. |
| HTML and sitemap must agree (guess: no sitemap hreflang today). | sitemap.xml | Keep the HTML head as the one place for hreflang, since the plugin already does it. If the CMS or another plugin also writes hreflang into the sitemap, switch that off or make it match exactly. |
| Discovery: market pages missing from sitemaps (guess). Sites often leave out pages that are canonicalized to another URL. | /au/pricing/ | List every self-canonical market URL in the XML sitemap. One sitemap per market (sitemap-us.xml, -uk, -au, -de) makes each market easy to check in Search Console. |
| Discovery: links inside copied pages go to US URLs (guess). The "See pricing" button on /uk/features/payroll/ probably links to /pricing/. That sends UK visitors to US pricing and tells Google the US pages are the main ones. | /uk/features/payroll/ → /pricing/ | Menus, footer, buttons and in-text links must stay inside the market (/uk/ pages link to /uk/ pages). The country switcher must be plain <a href> links on every page, going to the same page in each market (not each homepage), and not a JavaScript-only dropdown. |
| Keep it free of location redirects (guess: you have none). Google crawls mostly from the US, so a forced redirect would hide your /uk/, /au/ and /de/ pages from it. | /pricing/ | Don't auto-redirect. Show a small banner on US pages for UK and AU visitors instead ("Looks like you're in the UK. See pricing in £"), and let them click. |
2. Market difference table
Score key: High = a local buyer learns something important the US page doesn't tell them. Medium = some real local changes. Low = only currency, spelling or phone number changed.
| Market | Difference score | What's missing | Owner |
|---|---|---|---|
| UK – /uk/pricing/ | Low | Prices labelled "excl. VAT" and how VAT shows on invoices. GBP billing and local payment options, e.g. Direct Debit (guess, only if you offer it). What UK payroll includes (RTI submissions, pension auto-enrolment). UK data terms (UK GDPR, where data is stored). A UK pricing FAQ. UK customer logos and quotes. A comparison with UK alternatives (e.g. Sage, BrightPay, IRIS). | Local sales (FAQ, objections, logos), legal (VAT and UK GDPR wording), regional marketing (proof, comparison) |
| UK – /uk/features/payroll/ | Low, and wrong: it describes US tax forms | Remove the US forms. Add PAYE, RTI submissions to HMRC (FPS/EPS), tax codes, National Insurance, P45/P60/P11D, statutory pay (SSP, SMP), student loan deductions, pension auto-enrolment, and the tax year (6 April – 5 April). Mention HMRC-recognised software status only if true. Add a UK case study and a UK payroll FAQ. | Product (what the software really does in the UK), legal (check every rule), regional marketing (case study) |
| UK – blog | No UK version | A new guide, "How to run payroll in the UK", written for UK rules. Not a copy of the US post. | Regional marketing (writing), legal (review) |
| AU – /au/pricing/ | Low | Prices clearly marked "excl. GST" or "incl. GST" (pick one). AUD billing and local payment options (guess). Where data is stored and Privacy Act wording. An AU pricing FAQ. AU customer proof. A comparison with AU alternatives (e.g. Employment Hero, Xero, MYOB). | Local sales, legal, regional marketing |
| AU – /au/features/payroll/ | Low, and wrong: it describes US tax forms | Remove the US forms. Add Single Touch Payroll (STP Phase 2) reporting to the ATO, PAYG withholding, superannuation guarantee and Payday Super (from 1 July 2026; legal to confirm the wording), Modern Awards and Fair Work payslip rules, leave (annual, personal/carer's, long service), TFN declarations. Add an AU case study. | Product, legal, regional marketing |
| AU – blog | No AU version | A guide, "How to do payroll in Australia", covering STP, super and awards. | Regional marketing, legal |
| DE – /de/preise/ | Medium (guess: translated, but not localized) | Net prices marked "zzgl. MwSt.". SEPA direct debit (guess). Contract terms German buyers look for (term length, notice period). DSGVO details: data hosting location, AVV (data processing agreement). A German FAQ. German customer logos. A comparison with local tools (e.g. Personio, DATEV, Lexware). | Local sales, legal, regional marketing |
| DE – /de/funktionen/lohnabrechnung/ | Medium in language, probably Low in local facts (guess: it's a translation of the US page, so it may also describe US forms) | ELStAM, Lohnsteueranmeldung, social insurance reporting (DEÜV), ITSG certification (only if true), DATEV export for tax advisers (Steuerberater), works council (Betriebsrat) information for HR data, a German case study. | Product, legal, local sales (tax adviser partners) |
| DE – blog | No DE version | "Lohnabrechnung erstellen: Schritt für Schritt", written by a native speaker for German rules. | Regional marketing, legal |
Note for local teams: "Low" on the payroll pages is more than an SEO problem. A UK or AU buyer who reads about US tax forms will think your software doesn't work in their country. Fix that first, even before the full rewrite.
When merging is smarter than keeping weak copies
Keep a separate market page only if a local buyer gets at least two of these from it: a different price or tax display, different laws or rules, different product features, local proof (customers, reviews), or local contact and support. Someone in that market must also keep it up to date.
Merge it (301-redirect the copy to the main page, then remove it from hreflang sets and sitemaps) when:
- the page would differ only in currency, spelling or phone number;
- nobody in that market can keep it current (a stale copy, like today's US tax forms, does more harm than no page);
- the product works the same way there.
For your site:
- Pricing: keep UK, AU and DE separate. Currency plus VAT/GST, billing and local terms are real differences for buyers, and pricing is exactly where UK searchers land on the wrong page.
- Payroll: keep separate. Payroll law is different in every market, so this is your strongest reason to have market pages at all. But if the answer to question 1 is "no", don't keep UK/AU payroll pages that suggest you run local payroll. Redirect them to a page that says honestly what you do support.
- AU as a whole: if AU has few customers and no local owner (guess), shrink /au/ to the pages that really differ: home, pricing, payroll and the AU payroll guide. Redirect the other /au/ pages to the US versions. A few strong AU pages beat many copies that Google already ignores.
- General HR feature pages in /uk/ and /au/ (guess: you have these beyond your samples): merge them unless they get local content, for example UK right-to-work checks.
- Blog: don't copy US posts into /uk/ or /au/. Write new local guides only where the rules differ: payroll, tax year, leave, pensions/super.
When you merge a page, its URL leaves the hreflang set. The remaining pages simply list fewer lines.
3. Corrected hreflang code example: pricing page set
Put the same 5 hreflang lines on all four pages. Only the canonical line changes, and it always points to the page itself.
<!-- In the <head> of https://www.example.com/uk/pricing/ -->
<link rel="canonical" href="https://www.example.com/uk/pricing/" />
<link rel="alternate" hreflang="en-US" href="https://www.example.com/pricing/" />
<link rel="alternate" hreflang="en-GB" href="https://www.example.com/uk/pricing/" />
<link rel="alternate" hreflang="en-AU" href="https://www.example.com/au/pricing/" />
<link rel="alternate" hreflang="de-DE" href="https://www.example.com/de/preise/" />
<link rel="alternate" hreflang="x-default" href="https://www.example.com/pricing/" />
The canonical line on each page:
What to look for and remove (an example of common mistakes, not your exact code):
<!-- WRONG on /uk/pricing/ -->
<link rel="canonical" href="https://www.example.com/pricing/" /> <!-- points to US: Google drops this page's hreflang -->
<link rel="alternate" hreflang="en-UK" href="..." /> <!-- not valid: must be en-GB -->
<link rel="alternate" hreflang="de-DE" href="https://www.example.com/de/pricing/" /> <!-- 404: must be /de/preise/ -->
For the US-only blog post, until a local version exists:
<!-- In the <head> of https://www.example.com/blog/how-to-run-payroll/ -->
<link rel="canonical" href="https://www.example.com/blog/how-to-run-payroll/" />
<!-- No hreflang lines. Add the set only when real UK/AU/DE guides are live. -->
After you go live, check:
- View the source of all four pricing pages: the same 5 lines on each, and a self-canonical.
- Every URL in the set loads directly (status 200, no redirect).
- In Search Console URL Inspection for /uk/pricing/, "User-declared canonical" shows /uk/pricing/.
Be realistic: while /uk/pricing/ is almost the same as /pricing/, Google may still choose the US page as the main one. With correct hreflang it can still show the /uk/ URL to UK searchers, but that's Google's choice, not a guarantee. The content work in table 2 makes it much more likely.
4. 90-day localization roadmap
Days 1–14: Fix the signals and stop the wrong information
- Web/SEO: self-canonicals on all /uk/ and /au/ pages. Fix plugin codes (en-GB, en-AU), add x-default, map the German slugs by page ID, and remove hreflang from the US-only blog post and from any 404 or redirected URLs. Check the homepage set too: /, /uk/, /au/, /de/.
- Web/SEO: links inside each market stay in that market. Make the country switcher crawlable and page-to-page. Submit one sitemap per market in Search Console.
- Product + legal: remove the US tax form text from the /uk/ and /au/ payroll pages now. A short, correct page beats a long, wrong one.
- SEO: record a baseline. In Search Console, filter Country = United Kingdom and queries containing "pricing" or "price", then note which URL gets the clicks. Do the same for Australia. Count how many /au/ URLs show "Duplicate, Google chose different canonical than user".
- Leadership + SEO: agree on the merge list, especially for AU.
Days 15–45: Rebuild UK and AU pricing and payroll pages (highest value)
- Each owner fills in a one-page brief per page: "What's different here? Price and tax, laws, features, local proof, FAQs."
- Legal reviews every rule or compliance claim before it goes live.
- Regional marketing collects 1 case study and 3–5 customer quotes per market.
- Local sales writes the top 5 questions UK and AU buyers ask about price and payroll. These become the FAQs.
- Switch spelling to UK/AU English (nice to have, but it is not the fix).
- Add the "You're in the UK, see £ pricing" banner to the US pricing page.
- Germany: product and legal review /de/preise/ and /de/funktionen/lohnabrechnung/, so the pages localize the rules, not just the words.
Days 46–75: Local content where the rules differ
- Publish the local payroll guides: UK ("How to run payroll in the UK"), AU ("How to do payroll in Australia"), DE ("Lohnabrechnung erstellen"). They cover the same topic as the US post for different audiences, so link all four as one hreflang set. Link each guide from its market's payroll page.
- Add local comparison content against local competitors (regional marketing + local sales).
- Carry out the merges: 301-redirect weak copies, then update hreflang sets, sitemaps and internal links.
Days 76–90: Measure and set the rules
- Compare against the baseline: the share of UK pricing clicks landing on /uk/pricing/ instead of /pricing/, /au/ URLs moving out of the duplicate status, and demo requests from UK and AU pages.
- Expect gradual change. Google has to recrawl and re-judge the pages, and some changes take longer than 90 days.
- Pick the next page sets for next quarter, starting with pages where local law matters (leave, contracts, right-to-work, works councils).
- Set a simple rule: when a US page changes, the market owner reviews their version within two weeks, and no new market page goes live without a filled-in brief.
The bottom line for local teams: the tag fixes help Google send each searcher to the right page. What earns a market page its place in search is content that only makes sense in that market: local prices with tax, local payroll rules, local customers and local competitors.
Lines like “check: pass” or “fixed” are the model talking to itself. The prompt tells it to review its own work before answering; that review is part of the output.
The prompt
First lines open so you can see how it is built. The rest opens after purchase.
#ROLE You are an international SEO expert. You know hreflang, canonicalization and market localization deeply. Audit my international setup and tell me how to make each market page earn its place. #INPUTS Fill in every line. Leave a line blank if you don't know it. - Main website: [WEBSITE URL] - Markets and languages: [e.g., en-US, en-GB, de-DE, fr-FR, es-MX] - URL structure: [ccTLDs / subfolders like /de/ / subdomains]
How to use it
- Buy, then open it in your account.
- Copy the prompt into ChatGPT, Claude or Gemini.
- Replace the 7 inputs with your product.
- Run it. Use the output. Re-run with a different tone if you like.
Pro tips
- Paste real sample sets, including one page that exists only in one market. Hreflang mistakes show up there first.
- Read the market difference table before you fix tags. Copy-paste pages are the bigger problem.
- Give the localization plan to your local sales and legal teams. They hold the information that makes pages unique.
Before you buy
- Will it work for my product?
- Yes, if you can fill the 7 inputs. If the output is bad with your inputs, email us: we fix the prompt and refund you.
- Do I download a file?
- No. It lives in your account with a copy button, and updates when we improve it.
- Which model is best?
- Best on Claude. Works in ChatGPT, Claude and Gemini.
Works well with this
Prompts people use in the same campaign.
More in Site Structure, URLs & Media
Buying more than two? Lifetime is cheaper.
Every prompt, every category, forever. $59 once. Nothing to download, nothing to renew.
This prompt
$3$7
- ✓ Instant access in your account, with a copy button
- ✓ Example input and real output included
- ✓ 7-day money-back, no form
Or get every prompt, forever
Lifetime Access · $59 $149 — all categories, all future prompts, rewrites included.
Get lifetime accessCard or PayPal · taxes at checkout · nothing to download
Not the one you need?
Browse every prompt by category and sub-category.