<?php
/**
 * Add 'contact' to allowed WP query variables
 */
add_action('init','add_contact_query_var');

function add_contact_query_var() {
    global $wp;
    $wp->add_query_var('contact');
}
?>