If this tutorial is not what you were looking for, you still have any questions, suggestions or concerns - feel free to let us know. Please help us to serve you better!

Your Name

Your Email

Your Message (required)

captcha

Featured templates

Drupal 7.x. How to change logo URL

This tutorial is going to show you how to change logo URL in Drupal template.

Drupal. How to change logo URL

By default, logo is assigned to your site “Home” page. In order to change its link follow steps below:

  1. Open sites/all/themes/theme###/templates directory on your server (### is your theme number).

  2. Open page.tpl.php file in the text editor.

  3. 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; ?>
  4. Change <?php print $front_page; ?> to the URL address like https://www.google.com.

  5. 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:

Drupal. How to change logo URL