Multi-language SEO URLs
This plugin has three main purposes: A) It makes your urls contain the selected language as a directory (and replaces the language GET variable), for example: your language-independent address: http://your.domain.com/zencart/ your Enlish-language address http://your.domain.com/zencart/en/ your Spanish-language address http://your.domain.com/zencart/es/ your Dutch-language address http://your.domain.com/zencart/nl/ B) It includes instructions to search engines to index all your different languages correctly. Below is an example of how the html header would be for a product page displayed in Dutch with English set as the default zen cart language: <link rel="canonical" href="http://your.domain.com/nl/muziek-c-14/muziek-geweldig-concert-p-10.html" /> <link rel="alternate" href="http://your.domain.com/music-c-14/music-wonderful-concert-p-10/" hreflang="x-default" /> <link rel="alternate" href="http://your.domain.com/nl/muziek-c-14/muziek-geweldig-concert-p-10.html" hreflang="nl" /> <link rel="alternate" href="http://your.domain.com/es/musica-c-14/musica-mucho-bella-concerto-p-10.html" hreflang="es" /> <link rel="alternate" href="http://your.domain.com/en/music-c-14/giclee-80x50-painting-bronze-tree-peony-p-10.html" hreflang="en" /> C) It provides an url variable $defaultLink that is always in the default language (but without the language directory), no matter what language a page is shown in. This can be used for social media sharing buttons, to make sure the sharing/like counts for the different languages are counted together and not separate. For an example of how the Multi-language SEO URLs plugin works (including shared SSL), see http://art.horisense.com Please update this mod with the new copy of includes/functions/html_output.php from the November 2015 patches https://www.zen-cart.com/showthread.php?218914-Security-Patches-for-v1-5-4-November-2015 |
Zen Cart® Versions | v1.5.1 |
Original Author | Jeroen Lichtenauer |
Last Updated by | Mohandas - 15 Aug 2013 |
Downloads | 611 |
Version History
Multi-language SEO URLs - Version: 1.0 | |||||||||||
|
|||||||||||