This tutorial is going to show you how to change logo URL in Drupal template.
By default, logo is assigned to your site “Home” page. In order to change its link follow steps below:
Open sites/all/themes/theme###/templates directory on your server (### is your theme number).
Open page.tpl.php file in the text editor.
Modify the following lines:
<?php if ($logo): ?> <a href="<?php print $front_page; ?>" title="<php print t('Home'); ?>" rel="home" id="logo"> <img src="<?php print $logo; ?>" alt="<?php print t('Home'); ?>" /> </a> <?php endif; ?>
Change <?php print $front_page; ?> to the URL address like https://www.google.com.
Save the changes to the file and upload it to your server. Click the logo on the frontpage to check if it is pointed to the URL address you specified.
Feel free to check the detailed video tutorial below: