How to use "hreflang tag"?

Author Topic: How to use "hreflang tag"?  (Read 1844 times)

Offline danielnashTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 6
  • Posts: 86
  • Karma: 0
  • Gender: Male
    • WordPress Development
How to use "hreflang tag"?
« on: 06-09-2015, 01:15:22 »
Can anybody tell me the step of How to use "hreflang tag"?


Offline soniakumari789a

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 1
  • Posts: 7
  • Karma: 0
    • ravahomes
Re: How to use "hreflang tag"?
« Reply #1 on: 06-09-2015, 03:56:58 »
I think you can add it into 'head' tag of file 'index.php' easily with code below

<link rel="alternate" hreflang="<your_site_URL>" href="en-us">

Offline WebOutGateway

  • Trade Count: (0)
  • Full Member
  • ***
  • Thank You 7
  • Posts: 120
  • Karma: 1
Re: How to use "hreflang tag"?
« Reply #2 on: 06-09-2015, 04:05:21 »
Hi there!

This article may help you with your concern. See link below.

https://www.branded3.com/blog/implementing-hreflang-tag/

Hope it helps and good luck!
Having a problem in your website? Feel free to visit us and let us know your  Web requirements to transform your bright ideas into a creative website

Offline pricekhan

  • Trade Count: (0)
  • Newbie
  • *
  • Thank You 0
  • Posts: 5
  • Karma: 0
Re: How to use "hreflang tag"?
« Reply #3 on: 06-09-2015, 07:40:02 »
The hreflang tag on each page should include a reference to itself as well as to all the pages that serve as alternates for it. If your Spanish website sells Iberian ham to customers in Spain, France, and Portugal only, the hreflang tags for your homepage might look like this:

<link rel="alternate" href="example.com" hreflang="es-es" />
<link rel="alternate" href="example.com/fr/" hreflang="fr-fr" />
<link rel="alternate" href="example.com/pt/" hreflang="pt-pt" />

 !-! newbielink:http://Pricekhan.com [nonactive] !-!

Offline danielnashTopic starter

  • Trade Count: (0)
  • Jr. Member
  • **
  • Thank You 6
  • Posts: 86
  • Karma: 0
  • Gender: Male
    • WordPress Development
Re: How to use "hreflang tag"?
« Reply #4 on: 06-11-2015, 07:32:30 »
my site has too many pages about 1 million pages, and i want to use hreflag tag for each pages, how can i do for all pages, is there any dynamic code for it?


Offline TomClarke

  • Trade Count: (0)
  • Hero Member
  • *****
  • Thank You 17
  • Posts: 897
  • Karma: 0
  • Gender: Male
    • Custom Writing Service & Content Marketplace
Re: How to use "hreflang tag"?
« Reply #5 on: 09-07-2016, 03:15:11 »
Hreflang is code,  which you can show to search engines in three different ways. With this code you specify all the different URLs on your site that have the same content. Thes eURLs  can have the same content in a different language, or the same language but targeted at a different region . You should use it if:
- you have the same content in multiple languages;
- you have content aimed at different geographic regions, but in the same language.
Whether the content ypou have resides on one domain or multiple domains does not matter. you can link variations within the same domain but can also link between domains.
Your ideas, our writings - Writology.com

 

Related Topics