Picture a site with twenty Spanish pages. They are carefully written, approved by a bilingual office manager, and live for three months. Google still shows the English pages to people searching in Spanish.
Nothing is wrong with the writing. Nothing is wrong with the design. The site is missing a few lines of code that tell Google which pages belong together. Those lines are called hreflang, and they are the most common reason a bilingual site underperforms.
You do not need to write the code yourself. You do need to know whether your site has it, because your web designer may not have mentioned it.
What hreflang is, in plain English
Hreflang is a tag that sits in the code of each page. It tells Google, in effect: this page is the English version, and here is the Spanish version of the same thing.
Google’s documentation on localized versions of your pages describes it as a way to tell Google about the different language or regional versions of a page, so Search can show people the version that fits them best.
Without it, Google has to guess. Sometimes it guesses right. Often it does not, and your Spanish page sits in the index while the English page shows up for Spanish searches.
The rule most sites get wrong
Google is strict about one thing: each language version has to list itself and every other version. The English page points to the Spanish page and to itself. The Spanish page points to the English page and to itself.
If the Spanish page links to the English page but the English page does not link back, Google may ignore the tags. One-sided hreflang is one of the most common mistakes we find on bilingual sites, usually because someone added Spanish pages by hand and never touched the English ones.
Signs your hreflang is broken
- Your Spanish pages get almost no search traffic, even though they exist and are indexed.
- Google shows your English page to people searching in Spanish. Try a Spanish search for your own business or service and see which version appears.
- Your Spanish pages were added after the site launched by a different person or plugin than the one who built it.
- Your Spanish pages do not have a matching English page, or the matches are wrong, like the Spanish contact page pointing to the English homepage.
Three other mistakes that travel with it
Redirecting by browser language
Some sites detect the visitor’s browser language and redirect automatically. Google’s guidance on managing multilingual sites specifically advises against this, because Google’s crawler may never see the other versions. Let people choose with a visible language switcher instead.
Mixing languages on one page
A Spanish page with an English menu, English footer and English form is confusing for people and unclear for search engines. Translate the whole frame, not just the middle.
Spanish pages with no Spanish metadata
Page titles and descriptions are what people see in the search results. If your Spanish page has an English title, or none at all, the result looks wrong before anyone clicks.
Why this is good news
If you already have Spanish pages and they are not performing, hreflang is often the fix, and it is a fast one. The writing is done. The pages exist. Getting the connections right can make months of existing work start to show up where it should.
If you are planning a Spanish site, building hreflang in from the start costs almost nothing and saves you from launching pages Google cannot place.
How we handle it
Every bilingual site we build pairs each English page with its Spanish version in both directions, uses a visible language switcher instead of automatic redirects, and translates the menu, footer, forms and metadata along with the content. If you are not sure what your site needs, start with what a translate button misses, then see our bilingual websites page.
What the tags actually look like
You will never need to write these by hand, but it helps to recognize them. Open any page on your site, view the page source, and search for the word hreflang. On a healthy bilingual page you will find a short block of lines in the head of the page. Each line names a language code and a full web address. On your English contact page, for example, you would expect to see one line marked en pointing to the English contact page, and one marked es pointing to the Spanish contact page. The Spanish contact page should carry the exact same pair.
If you search and find nothing, your site has no hreflang. If you find it on the Spanish pages but not the English ones, you have found the one-sided problem described above.
The details that trip up even careful builds
Google’s documentation on localized versions is specific about a few rules that cause real problems in the wild.
Full addresses only
Every alternate URL has to be fully qualified, including https. A shortcut like /es/contacto/ is not good enough. Sites that were moved from staging to live sometimes carry addresses pointing at the old staging domain, which quietly breaks every pair.
Language first, region optional
The code starts with a language, like es for Spanish. You can add a region after it, like es-MX for Spanish aimed at Mexico, but you cannot use a country code alone. Google also does not support codes like es-419, the common shorthand for Latin American Spanish. For most US businesses serving Spanish speakers at home, plain es is the right choice. You are not targeting a country. You are offering a language.
A fallback for everyone else
There is a reserved value called x-default. It tells Google which page to show when a visitor’s language matches none of your versions. On a typical English and Spanish site, that is usually the English page or a neutral language chooser.
One method is enough
Hreflang can live in the page code, in HTTP headers, or in your XML sitemap. Google treats the three as equivalent, and using all of them adds nothing. Pick one and keep it consistent. The real danger is two systems, say a plugin and a sitemap tool, publishing conflicting pairs.
A ten-minute audit you can do yourself
- List your five most important English pages and their Spanish matches.
- Open each English page, view source, and confirm it points to itself and to the right Spanish page.
- Do the same from the Spanish side. The pairs must mirror each other exactly.
- Click every address in those tags. Each should load a live page, not a redirect and not a 404.
- Check that the Spanish page has a Spanish title and description. Search your business name with a Spanish service term and see what Google shows.
- Click your language switcher on a deep page, not just the homepage. It should land on the matching page, not dump people back on the Spanish homepage.
If anything fails, write down which page and what you saw. That list is exactly what a developer needs to fix it quickly.
Plugins help, and still need checking
On WordPress, the multilingual plugins most sites use can generate hreflang automatically once each page is linked to its translation. The catch is that linking step. If someone creates a Spanish page as a standalone page instead of as the translation of an English one, the plugin has nothing to pair it with. The tags look present on most of the site and missing on the pages that were added later. This is why the audit above matters even when the setup “should” handle it.
Questions owners ask about hreflang
Will hreflang make my Spanish pages rank?
No. It helps Google show the right language version to the right person. The Spanish page still has to deserve to rank on its own: real content, real depth, its own title. Hreflang removes a reason it would be passed over.
Do I need a separate domain for Spanish?
No. A folder like /es/ on your main domain works well and keeps all your authority in one place. What matters is that each page has its own address and its pair is declared.
How long until fixes show up?
Google has to recrawl both sides of each pair before it trusts the connection. Important pages usually get picked up sooner, deep pages later. Fix it once, correctly, and resist the urge to keep changing it while you wait.
What if a page only exists in English?
Then leave it out of the hreflang pairs. Do not point a Spanish tag at an unrelated page just to fill the gap. A missing pair is harmless. A wrong pair is not.
Have Spanish pages that are not getting found?
Send us the site. We will check the hreflang, the metadata and the language setup, and tell you exactly what is broken.
Get a free review of your site
Matthew Martin is a digital strategist specializing in high-performance web design, brand development, and technical SEO. As Creative Director at Spade Design, he bridges the gap between aesthetic excellence and Google search compliance, engineering resilient digital presences that prioritize user experience and hold their visibility through major algorithm shifts.