Enabled international targeting as per webmaster tools

Popular automatic website translation tool

Enabled international targeting as per webmaster tools

Postby sadashiv » Tue Sep 29, 2015 5:34 pm

I read a similar topic at post18268.html

I am using drupal and have a enterprise version of gtranslate. I want to use hreflang and would like to know what's the correct way to do it? I want to confirm that what I did is right. I added some code in the html.tpl.php which displays all alternate urls for the page


if I am on a page as http://example.com/about_us then the code should be

<link rel="alternate" hreflang="en" href="http://example.com/about_us">
<link rel="alternate" hreflang="es" href="http://es.example.com/about_us">
<link rel="alternate" hreflang="de" href="http://de.example.com/about_us">

and so on for all languages.

Posts: 75
Joined: Thu Oct 09, 2014 2:02 pm

Re: Enabled international targeting as per webmaster tools

Postby Edvard » Tue Sep 29, 2015 10:48 pm


It looks good.


Edvard Ananyan - GTranslate Team

Please leave your feedback on your CMS plugin directory. It is very important for us!
Google Translate Joomla
Google Translate WordPress
Google Translate Drupal
Site Admin
Posts: 4403
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia

  • Related Topics
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest