salieeri Posted June 17, 2013 Share Posted June 17, 2013 Hi everyone! For SEO purposes, I want to insert this code into header.tpl: <!-- {foreach from=$languages|@array_reverse key=k item=language name="languages"} <link rel="alternate" href="{if isset($language.link)}{$language.link}{else}{$link->getLanguageLink($language.id_lang, $language.name)}{/if}" hreflang="{$language.iso_code}" /> {/foreach}--> Unfortunately, the getLanguageLink does not return the friendly URL. Does anyone know how can I change that? I tried to change something from /classes/Link.php, but nothing worked. Thanks for your answers! Link to comment Share on other sites More sharing options...
salieeri Posted June 21, 2013 Author Share Posted June 21, 2013 up Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now