Hreflang tags in language switcher

Do you have an idea for the Joomla community that you can help implement? Discuss in here.
Locked
User avatar
Jeyjoo
Joomla! Explorer
Joomla! Explorer
Posts: 344
Joined: Tue Jul 19, 2011 8:56 am
Location: Monaco
Contact:

Hreflang tags in language switcher

Post by Jeyjoo » Tue Mar 08, 2016 8:54 am

Hreflang tags are a useful SEO instrument for multilingual sites to show search engines alternative version of an article in other languages. In perhaps 90% of cases the same article in alternative language is found on the same website and reached via the language switcher.

We build lots of multilingual sites, and it would be very handy if the language switcher was able to also add these tags into the <head> section of the site.

For more info here are Google webmaster guidelines - https://support.google.com/webmasters/a ... 9077?hl=en

Have you considered doing this? It should be a fairly straight forward modification.

Kind regards
Ultimate guide to setting up a Joomla MULTILANGUAGE website
https://jeyjoo.com/blog/how-to-create-a ... -joomla-3/
Guida siti MULTILINGUE in Joomla
https://jeyjoo.it/blog/creare-un-sito-m ... -joomla-3/

SharkyKZ
Joomla! Hero
Joomla! Hero
Posts: 2899
Joined: Fri Jul 05, 2013 10:35 am
Location: Parts Unknown

Re: Hreflang tags in language switcher

Post by SharkyKZ » Tue Mar 08, 2016 10:45 am

Joomla already inserts hreflang tags. It's done by Language Filter plugin, not Language Switcher module.

hoabantrang
Joomla! Fledgling
Joomla! Fledgling
Posts: 2
Joined: Mon May 23, 2016 2:35 am

Re: Hreflang tags in language switcher

Post by hoabantrang » Mon May 23, 2016 2:43 am

SharkyKZ wrote:Joomla already inserts hreflang tags. It's done by Language Filter plugin, not Language Switcher module.
So this function can be call from URL button on menu bar, right ?


Locked

Return to “Joomla! Ideas Forum”