Title: send button does not work
Last modified: August 22, 2016

---

# send button does not work

 *  Resolved [dvazbrad](https://wordpress.org/support/users/dvazbrad/)
 * (@dvazbrad)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/)
 * Hi
    On the contact form, when I fill out my name, email and message, nothing 
   happens when I click the send button. Thoughts?
 * [https://wordpress.org/plugins/wp-maintenance-mode/](https://wordpress.org/plugins/wp-maintenance-mode/)

Viewing 13 replies - 1 through 13 (of 13 total)

 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530073)
 * Hello [@dvazbrad](https://wordpress.org/support/users/dvazbrad/),
 * Do you have Firebug installed ? Maybe be a javascript error in there.
 *  [valdez12](https://wordpress.org/support/users/valdez12/)
 * (@valdez12)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530081)
 * I’m also having the same problem in that nothing happens when the guest presses
   the send button. I receive an email however there is no confirmation or redirect
   to show the guest that they were successful with their submission.
 * I have firebug installed on firefox however not on chrome where I have run the
   tests myself to confirm the scenario above.
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530085)
 * Hello [@valdez12](https://wordpress.org/support/users/valdez12/),
 * Look into console tab of Firebug, there should be the javascript errors… and 
   post here a printscreen or a log. If I don’t know the errors, I can’t debug. 
   🙂
 *  [valdez12](https://wordpress.org/support/users/valdez12/)
 * (@valdez12)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530086)
 * Here you go, the two errors I received in the console tab of firebug when attempting
   to send a message.
 * POST [http://mydomain.com/wp-admin/admin-ajax.php](http://mydomain.com/wp-admin/admin-ajax.php)
   302 Moved Temporarily 864ms jquery.js (line 4)
 * GET [http://mydomain.com/](http://mydomain.com/) 503 Service Unavailable 567ms
 * Let me know if you need anything further.
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530087)
 * Is your website online ? Give me the url, please.
 * As I see there is a 302 redirect when admin-ajax.php is accessed… and is pretty
   strange.
 *  [valdez12](https://wordpress.org/support/users/valdez12/)
 * (@valdez12)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530088)
 * Here you go
 * w w w . juanbravo . me
 *  [valdez12](https://wordpress.org/support/users/valdez12/)
 * (@valdez12)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530093)
 * I’ve noticed on another of my sites running WP 4.01 that the confirmation and
   redirect work perfectly so perhaps that is the solution i.e. to upgrade WP.
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530094)
 * Valdez12: yes, could be a 4.0 issue with ajax calls via admin-ajax.php. Anyway,
   I will investigate! Thank you!
 *  [valdez12](https://wordpress.org/support/users/valdez12/)
 * (@valdez12)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530096)
 * Can you remove my website address post please George?
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530097)
 * I don’t have rights to edit others replies. 🙂
 *  [George J](https://wordpress.org/support/users/georgejipa/)
 * (@georgejipa)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530099)
 * Do you have a redirection URL in plugin settings ?
 * [http://screenshotlink.ru/3705b6066e6a2eff37b1a7d8c4acb64d.png](http://screenshotlink.ru/3705b6066e6a2eff37b1a7d8c4acb64d.png)
 * If yes, then… go to /wp-content/plugins/wp-maintenance-mode/includes/classes/
   wp-maintenance-mode.php and replace this:
 *     ```
       public function redirect() {
                   if (empty($this->plugin_settings['general']['redirection'])) {
                       return NULL;
                   }
   
                   if ($this->check_user_role()) {
                       return NULL;
                   }
   
                   if (preg_match('#wp-admin/#', $_SERVER['REQUEST_URI'])) {
                       $redirect_to = stripslashes($this->plugin_settings['general']['redirection']);
                       wp_redirect($redirect_to);
                   }
               }
       ```
   
 * With this:
 *     ```
       public function redirect() {
                   if (empty($this->plugin_settings['general']['redirection'])) {
                       return NULL;
                   }
   
                   if ($this->check_user_role()) {
                       return NULL;
                   }
   
                   if (defined('DOING_AJAX') && DOING_AJAX) {
                       return NULL;
                   }
   
                   if (preg_match('#wp-admin/#', $_SERVER['REQUEST_URI'])) {
                       $redirect_to = stripslashes($this->plugin_settings['general']['redirection']);
                       wp_redirect($redirect_to);
                   }
               }
       ```
   
 * This edit will also be available in version 2.0.4.
 *  [BruceManning](https://wordpress.org/support/users/brucemanning/)
 * (@brucemanning)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530263)
 * Hi, I’m having same problem. Works fine in Chrome but not in Firefox and IE. 
   I have added the above code.
 * In FF and IE, nothing happens when you click Subscribe. On clicking Contact Us
   you can enter details and when you click Send the email gets sent but you don’t
   see a confirmation.
 * [http://www.aboutnewent.co.uk](http://www.aboutnewent.co.uk)
 *  [dynobyke](https://wordpress.org/support/users/dynobyke/)
 * (@dynobyke)
 * [11 years ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530267)
 * same problem any fix thx

Viewing 13 replies - 1 through 13 (of 13 total)

The topic ‘send button does not work’ is closed to new replies.

 * ![](https://ps.w.org/wp-maintenance-mode/assets/icon-256x256.gif?rev=3027645)
 * [LightStart - Maintenance Mode, Coming Soon and Landing Page Builder](https://wordpress.org/plugins/wp-maintenance-mode/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-maintenance-mode/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-maintenance-mode/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-maintenance-mode/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-maintenance-mode/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [dynobyke](https://wordpress.org/support/users/dynobyke/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/send-button-does-not-work-3/#post-5530267)
 * Status: resolved