Contact form redirects to homepage without showing submission information I am using default contact form available in D7 under module section. The problem is that contact form redirects to the homepage. It doesn't show any information about submission, such as "Your message has been sent" etc etc. Instead it redirects to home page immediately.

I don't want the contact form to redirect. It should stay here and should show the submission information/message.
You can use hook_form_alter to hook into the contact form and change the default submit behaviour. So instead of redirecting when the form submits, you can just omit that part and display the status message.

function mymodule_form_alter($form, &amp;$form_state, $form_id ) {
  if ($form_id == 'contact_site_form') {
    // Use our own custom submit function for the contact form.
    $form['#submit'] = array('my_custom_submit');
  }
}

function my_custom_submit($form, &amp;$form_state) {
  drupal_set_message(t('Success.'));
}