What Is Hreflang |How To Add Hreflang Tags In Html |Fix Hreflang Tags
Headlines
Loading...
What Is Hreflang |How To Add Hreflang Tags In Html |Fix Hreflang Tags

What Is Hreflang |How To Add Hreflang Tags In Html |Fix Hreflang Tags

What Is Hreflang?

Hreflang is an HTML attribute used to define the language and geographical targeting of a website. If you have different types of the same page in several languages, you can use the hreflang tag to inform search engines like Google about these variations. This facilitates them to serve the proper version to their customers.

Hreflang


For Example: If we Google "Amazon official website" in the US, this is the first result:

hreflang

If we do the same in Spain, we see this version of the page:

hreflang


How To Add Hreflang Tags In Html:


Syntax For English Speaking Users:

<link rel="alternate" hreflang="en" href="https://example.com/" />


Syntax For Hindi & English Speaking Users:

<link rel="alternate" hreflang="en-hi" href="https://example.com/" />


Syntax For English Speaking Users in the United States:

<link rel="alternate" hreflang="en-us" href="https://example.com/" />


Syntax For Spanish Speaking Users in the United States:

<link rel="alternate" hreflang="es-us" href="https://example.com/" />


Browser Support:
  • Google Chrome
  • Internet Explorer / Edge
  • Firefox
  • Safari
  • Opera

Language And Hreflang Codes:


             Languages             
                  
           Codes             
            
 Abkhazianab
 Afrikaansaf 
 Aragonesean 
 Arabicar 
 Assameseas 
 Azerbaijaniaz 
 Belarusianbe 
 Bulgarian bg
 Bengali bn
 Tibetan bo
 Breton br
 Bosnian bs
 Catalan ca
 Chechen ce
 Corsicanco 
 Czech cs
 Church Slavic cu
 Welsh cy
 Danish da
 German de
 Greekel 
 English  en
 Esperanto eo
 Spanish es
 Estonian et
Basque  eu
 Persian fa
 Finnish fi
 Fijian  fj
 Faroese fo
 French fr
 Western Frisian fy
 Irish  ga
 Gaelic  gd
 Galician gl
 Manx  gv
 Hebrew he
 Hindi hi
 Croatian hr
 Haitian ht
 Hungarian hu
 Armenian hy
 Indonesian id
 Icelandic is
 Italian it
 Japanese ja
 Javanese jv
 Georgian ka
 Kongo kg
 Korean ko
 Kurdish ku
 Cornish kw
 Kirghiz ky
 Latin la
 Luxembourgish lb
 Limburgan li
 Lingala ln
 Lithuanian lt
 Latvian lv
 Malagasy mg
 Mongolian mn
 Moldavian mo
 Malay  ms
 Macedonian mk
 Maltese mt
 Burmese my
 Norwegian nb
 Nepali ne
 Dutch nl
 Norwegian nn
 Norwegian no
 Occitan oc
 Polish pl
 Portuguese pt
 Raeto-Romance rm
 Romanian ro
 Russian  ru
 Sardinian sc
 Northern Sami se
 Slovak sk
 Slovenian sl
 Somali so
 Albanian sq
 Serbian sr
 Swedish sv
 Swahili  sw
 Turkmen tk
 Turkish tr
 Tahitian ty
 Ukrainian uk
 Urdu ur
 Uzbekuz 
 Vietnamese vi
 Volapük vo
 Yiddish yi
 Chinese zh-hans
 Thai th

0 Comments:

Please do not enter any spam link in the comment box. Thank you.

satta king tw