diff --git a/weblinks.module b/weblinks.module
index 314592d..9e78ea6 100644
--- a/weblinks.module
+++ b/weblinks.module
@@ -646,12 +646,17 @@ function weblinks_view($node, $view_mode) {
 function weblinks_preprocess_node(&$variables) {
   // We only do this for our content and only on the links page.
   if ($variables['type'] == 'weblinks' && arg(0) == 'weblinks') {
-    // Set the node title destination (1 = node, 0 = site).
+    // Set the node title destination. The variable 'weblinks_title_link' is the
+    // setting for whether the node title should link to the node (1, default)
+    // or the site (0). The same name 'weblinks_title_link' is also used to hold
+    // the intermediate url value of that link. This is created as a property of
+    // $node in weblinks_node_view.tpl.php which then becomes available via the
+    // $variables[] array here. Finally $node_url is used in node.tpl.php.
     if (variable_get('weblinks_title_link', TRUE)) {
       $variables['node_url'] = url(drupal_get_path_alias('node/' . $variables['nid']));
     }
     else {
-      $variables['node_url'] = $variables['weblinks_title_link'];
+      $variables['node_url'] = url($variables['weblinks_title_link']);
     }
   }
 }
