{"id":480,"date":"2010-10-12T06:50:44","date_gmt":"2010-10-12T06:50:44","guid":{"rendered":"https://www.divydovy.com/?p=480"},"modified":"2020-01-23T10:30:14","modified_gmt":"2020-01-23T10:30:14","slug":"wp-maintenance-mode-and-contact-form-7","status":"publish","type":"post","link":"https://www.divydovy.com/2010/10/wp-maintenance-mode-and-contact-form-7/","title":{"rendered":"WP Maintenance Mode and Contact Form 7"},"content":{"rendered":"<p>Just a really quick post to say that I&#8217;ve wasted about a day trying to get these two plugins to work together and just can&#8217;t do it.</p>\n<p>An epiphany last night: just create a separate WP install with a very simple theme that shows a holding page with a contact form, then switch between the sites using Apache in order to achieve the maintenance page effect. Simple! Obviously this will only work if you:</p>\n<ol>\n<li>Have the ability to host more than one WP install at the same IP address</li>\n<li>Can play with Apache&#8217;s vhosts.conf (or equivalent) to switch between sites</li>\n<li>Have a &#8216;spare&#8217; URL pointing at the site which you can use whilst its in maintenance mode (and can swap the Home and SiteURL fields over in PHPMyAdmin)</li>\n</ol>\n<p>I use a great little VPS so can achieve this. It&#8217;s definitely not as much fun as just using WP Maintenance Mode, but it&#8217;s definitely more fun than sweating over how to get it working with Contact Form 7!</p>\n<p>So, if you&#8217;re trying to get WP Maintenance Mode and Contact Form 7 to play nicely together &#8211; I wish you luck and if you achieve it, I&#8217;d love to learn how 🙂</p>\n","protected":false},"excerpt":{"rendered":"<p>Just a really quick post to say that I&#8217;ve wasted about a day trying to get these two plugins to work together and just can&#8217;t do it. An epiphany last night: just create a separate WP install with a very simple theme that shows a holding page with a contact form, then switch between the sites using Apache in order to achieve the maintenance page effect. Simple! Obviously this will only work if you: Have the ability to host more than one WP install at the same IP address Can play with Apache&#8217;s vhosts.conf (or equivalent) to switch between sites [&hellip;]</p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_uag_custom_page_level_css":"","clkt_auto_upload":"0","_clkt_publish_and_upload":false,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wordproof_timestamp":false},"categories":[7],"tags":[204,203,183,125,205,202],"my_content_publications":[],"class_list":["post-480","type-post","status-publish","format-standard","hentry","category-web","tag-compatability","tag-contact-form-7","tag-plugins","tag-wordpress","tag-workaround","tag-wp-maintenance-mode"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"clkt_attachments":{"featured_image":null,"inline_attachments":[],"upload_candidates":[],"max_free_size":102400,"max_allowed_size":104857600},"_clkt_upload_mode":"new_only","clkt_content_hash":"21a187c1b0389df7ea843aece670ea6dfe7f0388ed722aa776f329f6a98fadd1","customFields":{"clkt_auto_upload":"0","activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"","activitypub_status":"","footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"processed_attachments":{"total_attachments":0,"uploaded_to_arweave":0,"kept_original_urls":0,"upload_summary":{"total":0,"uploaded":0,"failed":0,"too_large":0,"reused":0}}},"paymentAddress":"8_-tV4d15kVVq9Gd-Al2MAIC3LqNtJ_KgFol71TzxPw"}