Drupal: Logo And Site Name Refer To Home Page On The Selected Language
If there are a few languages on your Drupal-based site (the site is multilanguage) then logo and/or site name should refer to home page on the selected language rather than on the main site language.
Solution
- Open page.tpl.php file in current theme folder
- Find “$logo” line in this file – this is logo output. Site name output is usually about somewhere.
- Find how the link is formed. Usually it is
echo check_url($base_path);
or
print $base_path;
- Replace it with:
echo url(‘<front>’, array(‘absolute’ => TRUE));
That is all!