I've my home page http://www.faberunashop.com setup like a directory. Whenever you click the publish image, it requires you to the performers site. This is actually the code that I did previously achieve this with the addition of it towards the functions.php:

function print_post_title() {
    global $post;
    $thePostID = $post->ID;
    $post_id = get_post($thePostID);
    $title = $post_id->post_title;
    $perm  = get_permalink($post_id);
    $post_keys = array(); $post_val  = array();
    $post_keys = get_post_custom_keys($thePostID);

    if (!empty($post_keys)) {
      foreach ($post_keys as $pkey) {
            if ($pkey=='url1' || $pkey=='title_url' || $pkey=='url_title') {
              $post_val = get_post_custom_values($pkey);
            }
      }
      if (empty($post_val)) {
            $link = $perm;
      } else {
            $link = $post_val[0];
      }
    } else {
      $link = $perm;
    }
    echo '<h2><a href="'.$link.'" rel="bookmark" title="'.$title.'">'.$title.'</a></h2>';
}

Now I wish to perform the same to my search and archive page. Exactly what do I adjust to ensure they are behave exactly the same?

I guess that you employ WordPress.

For the reason that situation you are able to alter the layout and also the behavior of the search engine results by developing a file with title search.php to your theme for the search engine results, and the other apply for archives that known as archives.php.

To learn more about Template Hierarchy for WordPress you'll find here http://codex.wordpress.org/Template_Hierarchy