Enabled international targeting as per webmaster tools
Sep 29, 2015 1:34 pm by sadashiv
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
Sep 29, 2015 6:48 pm by Edvard
Hi,
It looks good.
Thanks!
SIMILAR TOPICS
Configuring it properly with Cloudflare SSL proxy enabled | Mar 8, 2017 4:38 am | Replies: 3 | Post by: brunocosta |
Translation tools not appearing on some sliders | Nov 22, 2016 7:36 pm | Replies: 6 | Post by: regroup |
Gtranslate with Joomla translation enabled | Jan 4, 2016 4:13 pm | Replies: 3 | Post by: peacetree |
Google Webmaster tools hreflang | Dec 21, 2015 5:35 am | Replies: 1 | Post by: bahab |
Google Webmaster tools hreflang Question | Nov 10, 2015 12:00 pm | Replies: 1 | Post by: atlasweb |