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

eg

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.

Thanks,
Sadashiv.
sadashiv
 
Posts: 63
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

Hi,

It looks good.

Thanks!
Regards,

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
Edvard
Site Admin
 
Posts: 4183
Joined: Mon Jun 28, 2010 1:54 pm
Location: Yerevan, Armenia


  • Related Topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 1 guest

2GLux
cron