Viewing language

language



User: Josep Maria G. 6 years ago
Google uses hreflang tags to match the users language with the correct version of pages, Everweb doesn't interact with the hreflang file.
Will this work in terms of SEO or must we include an hreflang entry for each page?.
User: Roddy 6 years ago
The hreflang is a link - not a file.

The language that a website uses is stated in the opening HTML tag ...
<html lang="gd">
The above indicates that the language is Scottish Gaelic.

Using a meta tag is not recommended in HTML4 ...
<meta http-equiv="Content-Language" content="de, fr, it">
It should never be used for HTML5

If you have English, Spanish and French versions of the site, you would use this in the English version...

<link rel="alternate" hreflang="es" href="http://es.domain-name.com/page-name.html" />
<link rel="alternate" hreflang="fr" href="http://fr.domain-name.com/page-name.html" />

... and this in the Spanish version...

<link rel="alternate" hreflang="en" href="http://en.domain-name.com/page-name.html" />
<link rel="alternate" hreflang="fr" href="http://fr.domain-name.com/page-name.html" />

... and this in the French version ...

<link rel="alternate" hreflang="en" href="http://en.domain-name.com/page-name.html" />
<link rel="alternate" hreflang="es" href="http://es.domain-name.com/page-name.html" />

These links are inserted in the Head Code box in the Page inspector.

-------------------------------
Roddy

Website: http://everwebwidgets.com
Contact: http://everwebwidgets.com/ewWidgets-home/contact.html
NOTE: I am an EverWeb user and NOT affiliated with EverWeb! Any opinions expressed in this forum are my own.


Post Reply
You must login or signup to post.