{"id":3842,"date":"2013-06-10T07:37:20","date_gmt":"2013-06-10T07:37:20","guid":{"rendered":"https:\/\/bodhost.com\/kb\/?p=3842"},"modified":"2026-02-26T14:04:32","modified_gmt":"2026-02-26T14:04:32","slug":"how-to-deal-with-the-error-412-precondition-failed","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/","title":{"rendered":"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?"},"content":{"rendered":"\r\n<p>The \u2018412 Precondition Failed\u2019 error message is displayed on any of the web pages of your website when you are trying to access it. It is shown because the respective web page incompatible with certain security principles that the server has.<\/p>\r\n\r\n\r\n\r\n<p>These principles are generally utilized in order to protect the websites hosted over the server from any malicious activities. It is a part of the server management process.<\/p>\r\n\r\n\r\n\r\n<p>The most common cause of this error is the mod_security setting. This response sent by the mod_security module when any portion of the data requested over the web has the possibility to malicious.<\/p>\r\n\r\n\r\n\r\n<p>For disabling this security feature, the following .htaccess directive used:<\/p>\r\n\r\n\r\n\r\n<p>SecFilterEngne Off<\/p>\r\n\r\n\r\n\r\n<p>This will solve the \u2018412 Precondition Failed\u2019 error.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>The \u2018412 Precondition Failed\u2019 error message is displayed on any of the web pages of your website when you are trying to access it. It is shown because the respective&hellip;<\/p>\n<p><a href=\"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/\" class=\"more-link\">Read More<\/a><\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[666],"tags":[491,218,400],"class_list":["post-3842","post","type-post","status-publish","format-standard","hentry","category-general","tag-server-management","tag-web-hosting","tag-web-server"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?<\/title>\n<meta name=\"description\" content=\"The \u2018412 Precondition Failed\u2019 error message may be displayed on any of the web pages of your website when you are trying to access it.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?\" \/>\n<meta property=\"og:description\" content=\"The \u2018412 Precondition Failed\u2019 error message may be displayed on any of the web pages of your website when you are trying to access it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2013-06-10T07:37:20+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-02-26T14:04:32+00:00\" \/>\n<meta name=\"author\" content=\"Juliane\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Juliane\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/\"},\"author\":{\"name\":\"Juliane\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f7683f9b95ba2e9e49a6b97716ec69a4\"},\"headline\":\"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?\",\"datePublished\":\"2013-06-10T07:37:20+00:00\",\"dateModified\":\"2026-02-26T14:04:32+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/\"},\"wordCount\":130,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"keywords\":[\"server management\",\"web hosting\",\"Web Server\"],\"articleSection\":[\"General Discussion\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/\",\"name\":\"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"datePublished\":\"2013-06-10T07:37:20+00:00\",\"dateModified\":\"2026-02-26T14:04:32+00:00\",\"description\":\"The \u2018412 Precondition Failed\u2019 error message may be displayed on any of the web pages of your website when you are trying to access it.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deal-with-the-error-412-precondition-failed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"General Discussion\",\"item\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/category\\\/general\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"alternateName\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\",\"name\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2025\\\/10\\\/Profile-Pic.png\",\"width\":240,\"height\":240,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/f7683f9b95ba2e9e49a6b97716ec69a4\",\"name\":\"Juliane\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g\",\"caption\":\"Juliane\"},\"sameAs\":[\"http:\\\/\\\/jonathan\"],\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/juliane\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?","description":"The \u2018412 Precondition Failed\u2019 error message may be displayed on any of the web pages of your website when you are trying to access it.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/","og_locale":"en_US","og_type":"article","og_title":"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?","og_description":"The \u2018412 Precondition Failed\u2019 error message may be displayed on any of the web pages of your website when you are trying to access it.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/","og_site_name":"Knowledge Base - bodHOST","article_published_time":"2013-06-10T07:37:20+00:00","article_modified_time":"2026-02-26T14:04:32+00:00","author":"Juliane","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Juliane","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/"},"author":{"name":"Juliane","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f7683f9b95ba2e9e49a6b97716ec69a4"},"headline":"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?","datePublished":"2013-06-10T07:37:20+00:00","dateModified":"2026-02-26T14:04:32+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/"},"wordCount":130,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"keywords":["server management","web hosting","Web Server"],"articleSection":["General Discussion"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/","name":"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"datePublished":"2013-06-10T07:37:20+00:00","dateModified":"2026-02-26T14:04:32+00:00","description":"The \u2018412 Precondition Failed\u2019 error message may be displayed on any of the web pages of your website when you are trying to access it.","breadcrumb":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.bodhost.com\/kb\/how-to-deal-with-the-error-412-precondition-failed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"General Discussion","item":"https:\/\/www.bodhost.com\/kb\/category\/general\/"},{"@type":"ListItem","position":2,"name":"How To Deal With The Error \u2013 \u2018412 Precondition Failed\u2019?"}]},{"@type":"WebSite","@id":"https:\/\/www.bodhost.com\/kb\/#website","url":"https:\/\/www.bodhost.com\/kb\/","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","description":"","publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"alternateName":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.bodhost.com\/kb\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.bodhost.com\/kb\/#organization","name":"Web Hosting Knowledge Base | bodHOST Hosting FAQ","url":"https:\/\/www.bodhost.com\/kb\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2025\/10\/Profile-Pic.png","width":240,"height":240,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/f7683f9b95ba2e9e49a6b97716ec69a4","name":"Juliane","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/adf62ca5cf545d4574368e4d324eb9b1c75171e947591bdb94e542f094a9cdf4?s=96&d=mm&r=g","caption":"Juliane"},"sameAs":["http:\/\/jonathan"],"url":"https:\/\/www.bodhost.com\/kb\/author\/juliane\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/3842","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=3842"}],"version-history":[{"count":5,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/3842\/revisions"}],"predecessor-version":[{"id":12245,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/3842\/revisions\/12245"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=3842"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=3842"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=3842"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}