Forum Archive - Enabled international targeting as per webmaster tools

Enabled international targeting as per webmaster tools
Sep 29, 2015 1:34 pm by sadashiv
I read a similar topic at google-says-your-site-has-hreflang-tags-t4136.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.
Re: Enabled international targeting as per webmaster tools
Sep 29, 2015 6:48 pm by Edvard
Hi, It looks good. Thanks!

SIMILAR TOPICS

Configuring it properly with Cloudflare SSL proxy enabledMar 8, 2017 4:38 amReplies: 3Post by: brunocosta
Translation tools not appearing on some slidersNov 22, 2016 7:36 pmReplies: 6Post by: regroup
Gtranslate with Joomla translation enabledJan 4, 2016 4:13 pmReplies: 3Post by: peacetree
Google Webmaster tools hreflangDec 21, 2015 5:35 amReplies: 1Post by: bahab
Google Webmaster tools hreflang QuestionNov 10, 2015 12:00 pmReplies: 1Post by: atlasweb

Try GTranslate with a free 15 day trial