Why This Happens
Many apps detect language using:- Browser
Accept-Languageheader - User’s saved preference (cookies/localStorage)
- Geolocation
Solutions
Use URL-based language routing (Recommended)
Use URL-based language routing (Recommended)
The most reliable solution is putting the language in the URL:Benefits:
- Each language version has a unique URL
- Google can index each version separately
- Pre-rendering works correctly
- Users can share links in specific languages
Add hreflang tags
Add hreflang tags
Set a default pre-rendering language in Hado SEO
Set a default pre-rendering language in Hado SEO
You can set a default pre-rendering language for your domain in your Domain Settings. The renderer will use this language when pre-rendering your pages, so you don’t need to change any code.This is the simplest option if your site primarily serves one language to search engines.
Detect HadoBot in your app code
Detect HadoBot in your app code
If you need more control, you can detect Hado SEO’s renderer and serve a specific language:Hado SEO’s renderer identifies itself with
HadoBot/1.0 in the user agent string.This is less ideal because:- Only one language version gets pre-rendered per URL
- You can’t have separate Google listings per language