theresel
Member
Posted 2 years ago #
I have a multilingual site and everything is working as it should except for the Home link that does not redirect to the correct language version of the site.
Ex.: When a visitor is on the French site and clicks on Home - He is redirected to the English home page instead of the French one. Can anybody tell me how to resolve this issue?
Thanks,
theresel
Member
Posted 2 years ago #
Found my solution. I am using qTranslate with my site and a theme made with Artisteer. I just added qtrans_convertUrl in front of the get_option('home') part in functions.php. For anyone interested:
In functions.php find the get_option('home') under:
function art_list_pages_filter($output) - OR - function art_menu_items()
and replace it with: qtrans_convertUrl(get_option('home'))
This solution worked perfectly for me and the home link is now redirecting to the correct language.