Hreflang tags tell Google which version of a page to show to people in Australia and which to show to people in New Zealand. If you sell to both countries from similar pages, they stop the wrong page appearing in the wrong market. Each tag is a short line of code that names a page’s language and country. Done well, a shopper in Auckland lands on your New Zealand page, with New Zealand prices and delivery details.
Many Melbourne businesses start with one Australian site and add New Zealand later. The new pages often look almost the same as the old ones, so Google can struggle to pick the right one. This guide shows you how to fix that in four plain steps, with a comparison table, a list of common mistakes and a working code example.
It sits inside our guide to enterprise SEO Melbourne businesses use for large and complex sites, which covers the wider picture.
What hreflang tags mean for your business
Hreflang is short for “language and location”. The tag sits in your page code, so visitors never see it, but Google reads it. It links each version of a page to its twins in other markets. For example, it can say that one page is for English speakers in Australia and another is for English speakers in New Zealand.
You need it when pages in two markets share nearly the same content. Google’s documentation says localised versions of a page are only treated as duplicates if the main content stays untranslated. Australian and New Zealand pages are both in English, so they are exactly the kind of pages Google may confuse.
Here is a simple example. Imagine a Melbourne outdoor gear retailer that opens a New Zealand store at /nz/. The tent page in each store is nearly identical. Prices are in different dollars and delivery times differ. Without tags, a shopper in Wellington might land on the Australian page and leave when they see the freight cost. With tags, Google has a clear signal to show the right page to the right shopper.
Pricing, shipping, returns and tax wording often differ between the two countries, so each market needs its own page. Each of those pages then needs a tag pointing to the other one. That pairing is the whole job, and the rest of this guide shows you how to do it without errors.
Treat the tags as guidance for Google, not a guarantee. They work alongside good local content, as part of international SEO for Australian businesses.
Not sure your hreflang tags are set up right for Australia and New Zealand? Claim your free $1,200 SEO audit.
How to set up hreflang for Australia and New Zealand
These four steps suit most sites. Allow an afternoon for a small site and longer for a large one.
1. Map every page version
List every Australian page and its New Zealand twin in a spreadsheet. Each row is one set, and every page in a set needs the same list of tags. Decide your URL structure at the same time: a subfolder such as /au/ and /nz/, a country domain such as .com.au and .co.nz, or subdomains.
Google’s guide to managing multi-regional and multilingual sites explains the trade offs between these structures. For most Australian businesses adding New Zealand, subfolders are the simplest to run, because you keep one website, one hosting bill and one set of reports.
You cannot tag pages you have not listed, and a clear map shows gaps fast. Tip: leave out pages that have no twin, such as a service you only offer in Australia.
2. Choose your language and country codes
Use a language code, a hyphen and then a country code. For Australia that is en-au and for New Zealand it is en-nz. Add one x-default tag for visitors who match neither, such as someone searching from Singapore. Google says x-default is used when no other language or region matches the user’s browser setting.
Google only accepts valid codes, and a country code on its own, such as au, does not work. Tip: Google reads the codes in any letter case, so pick one style and keep it.
3. Add the tags to every page
Google accepts three methods: link tags in the page head, HTTP headers, or your XML sitemap. It says the three are equivalent, so choose the one your team can keep up to date. Small sites usually use head tags. Large sites often prefer the sitemap, because the tags live in one file. That means one change in one place updates many pages, which saves developer time as you add markets.
Here is the head version for the tent page. The same three lines go on both pages, so each page lists itself and its twin:
<link rel="alternate" hreflang="en-au" href="https://www.example.com/au/tent/" /> <link rel="alternate" hreflang="en-nz" href="https://www.example.com/nz/tent/" /> <link rel="alternate" hreflang="x-default" href="https://www.example.com/tent/" />
Tip: use full web addresses that start with https, because Google needs fully qualified URLs.
4. Test and monitor
Open both pages and check that each one lists itself and the other. Start with your most valuable pages, such as your top product, service and contact pages. Then run a crawling tool over the site to find missing pairs at scale. Google has to recrawl every page in the set, so changes can take weeks to show.
Tip: repeat the check after every redesign, because new templates often drop the tags without anyone noticing.
Comparing your three ways to add hreflang
Pick the method that matches your site size and who maintains it. Google treats all three the same, so the choice is about your team, not rankings. Whichever you choose, use only one method per site, because Google sees no benefit in using all three.
| Method | Where it goes | Best for | Watch out for |
|---|---|---|---|
| HTML link tags | In the head of every page | Small sites and simple templates | Every page carries the full list, so it grows with each market |
| HTTP headers | In the server response | PDFs and files with no page head | Needs developer access to change |
| XML sitemap | In one sitemap file | Large sites with many pages | Each page needs its full set of alternates listed |
Source: Google Search Central, Tell Google about localized versions of your page.
Common hreflang mistakes
Missing return links. Google says that if two pages do not both point to each other, the tags are ignored. Fix: whenever page A names page B, make sure page B names page A.
Forgetting the self reference. Each page must list itself as well as its twins. Fix: copy the full set of tags onto every page in the set, including the page you are on.
Using wrong codes. Writing au or aus, or putting the country before the language, makes the tag useless. Fix: use en-au and en-nz.
Using partial web addresses. A tag like /nz/tent/ with no domain is not valid. Fix: write the full address, starting with https.
Leaving old tags after a move. Tags that point to deleted or redirected pages send Google in circles. Fix: update every tag when URLs change, and follow our site migration SEO checklist. Check your canonical tags at the same time.
Want experts to handle it? See our SEO services.
What to do next
Start with the page list from step one. Even a simple spreadsheet will show you the gaps. Then tag one page pair, test it, and roll the same pattern out to the rest.
Add tagging to your publishing checklist for every new page. When your team launches an Australian page, the New Zealand twin and its tags should go live on the same day. That habit keeps your hreflang tags in step with the site, so you never need a big clean up later.
If you also run branch pages across Melbourne, read our guide to multi location SEO so each location page stays unique. For the bigger picture, return to our Enterprise SEO Melbourne guide.
See what this looks like for Melbourne businesses. View our results.
Hreflang tags FAQs
What does hreflang do?
Hreflang tells Google which language and country each version of a page is meant for. It helps Google show the Australian page to Australian searchers and the New Zealand page to New Zealand searchers.
Do I need hreflang for Australia and New Zealand?
It is not compulsory, and Google may still find your other versions without it. It is worth adding when your Australian and New Zealand pages are nearly identical, because that is when Google is most likely to mix them up.
Is hreflang part of international SEO?
Yes. It is one technical part of that work, alongside your URL structure, local pricing and content written for each market.
How long does hreflang take to work?
Google has to recrawl every page in the set before it sees the tags. There is no set date, and no honest agency can promise one.
More questions? Visit our FAQ section or browse the SEO blog.
Want results like these for your business?
Book a free, no-obligation consultation with a Melbourne SEO expert.
Get a Free Consultation