1
General Questions / Alternate Meta Tags
« on: November 05, 2014, 07:43:17 am »
Hi,
I have just launched our website using jdiction, and I have been looking into the SEO aspect of it and what multilingual brings to the game.
Sounds like the <link rel="alternate" and hreflang="" > tags play a big part in this.
Joomla core has this if you use associated menus, but as this plugin removes the need to associate menus is there an alternate way to implement these into the website?
All documentation I have found says to add something along the lines of
<link rel="alternate" href="http://www.domain.com/us/" hreflang="en-us" />
<link rel="alternate" href="http://www.domain.com/de/" hreflang="de" />
<link rel="alternate" href="http://www.domain.com/es/" hreflang="es" />
which is easy enough in index.php, but is this then meant to adjust to
<link rel="alternate" href="http://www.domain.com/us/english-name" hreflang="en-us" />
<link rel="alternate" href="http://www.domain.com/de/german-name" hreflang="de" />
<link rel="alternate" href="http://www.domain.com/es/spanish-name" hreflang="es" />
etc for other pages?
If so can this data be pulled from the Jdiction data on the fly in anyway? ie.
<link rel="alternate" href="<current URL>" hreflang="<current lang tag>" />
<link rel="alternate" href="<german equivilant link>" hreflang="<german tag>" />
<link rel="alternate" href="<spanish equivilant link>" hreflang="<spanish tag>" />
Any advise/tips from anyone that has done this aspect of a multilingual site before would be appreciated.
Regards,
Jason
I have just launched our website using jdiction, and I have been looking into the SEO aspect of it and what multilingual brings to the game.
Sounds like the <link rel="alternate" and hreflang="" > tags play a big part in this.
Joomla core has this if you use associated menus, but as this plugin removes the need to associate menus is there an alternate way to implement these into the website?
All documentation I have found says to add something along the lines of
<link rel="alternate" href="http://www.domain.com/us/" hreflang="en-us" />
<link rel="alternate" href="http://www.domain.com/de/" hreflang="de" />
<link rel="alternate" href="http://www.domain.com/es/" hreflang="es" />
which is easy enough in index.php, but is this then meant to adjust to
<link rel="alternate" href="http://www.domain.com/us/english-name" hreflang="en-us" />
<link rel="alternate" href="http://www.domain.com/de/german-name" hreflang="de" />
<link rel="alternate" href="http://www.domain.com/es/spanish-name" hreflang="es" />
etc for other pages?
If so can this data be pulled from the Jdiction data on the fly in anyway? ie.
<link rel="alternate" href="<current URL>" hreflang="<current lang tag>" />
<link rel="alternate" href="<german equivilant link>" hreflang="<german tag>" />
<link rel="alternate" href="<spanish equivilant link>" hreflang="<spanish tag>" />
Any advise/tips from anyone that has done this aspect of a multilingual site before would be appreciated.
Regards,
Jason