{"id":2896,"date":"2020-03-26T17:05:11","date_gmt":"2020-03-26T16:05:11","guid":{"rendered":"https:\/\/demos.welaunch.io\/woocommerce-catalog-mode\/?post_type=faq&#038;p=711"},"modified":"2020-07-31T11:35:39","modified_gmt":"2020-07-31T09:35:39","slug":"enquiry-form-redirects-after-submit","status":"publish","type":"faq","link":"https:\/\/www.welaunch.io\/en\/knowledge-base\/faq\/enquiry-form-redirects-after-submit\/","title":{"rendered":"Enquiry form redirects after submit"},"content":{"rendered":"<p>It could be, that you get redirected, turned to a new page or the page reloads after you clicked on the submit button in the enquiry form. This has several reasons:<\/p>\n<ol>\n<li>In your WP Config it is defined &#8220;WPCF7_LOAD_JS&#8221; is defined with FALSE. See here <a href=\"https:\/\/contactform7.com\/loading-javascript-and-stylesheet-only-when-it-is-necessary\/\" target=\"_blank\" rel=\"noopener noreferrer\">how to disable Contact form 7 AJAX<\/a>.<\/li>\n<li>Or you use a 3rd Party plugin like CF7 Redirect<\/li>\n<\/ol>\n<p>To solve this, remove the config line from your wp-config.php file if it exists. If not exists check if you have a plugin for redirect installed and deactivate this.<\/p>\n<p>If it is still not solved, disable all other plugins and try again. You may also disable your theme for testing.<\/p>\n","protected":false},"author":1,"featured_media":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","product_cat":[],"class_list":["post-2896","faq","type-faq","status-publish","hentry","faq_topics-catalog-mode-faq"],"_links":{"self":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/2896","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq"}],"about":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/types\/faq"}],"author":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/comments?post=2896"}],"version-history":[{"count":2,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/2896\/revisions"}],"predecessor-version":[{"id":5760,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/faq\/2896\/revisions\/5760"}],"wp:attachment":[{"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/media?parent=2896"}],"wp:term":[{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.welaunch.io\/en\/wp-json\/wp\/v2\/product_cat?post=2896"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}