{"id":7945,"date":"2024-05-03T09:30:38","date_gmt":"2024-05-03T09:30:38","guid":{"rendered":"https:\/\/www.bodhost.com\/kb\/?p=7945"},"modified":"2026-10-12T09:00:36","modified_gmt":"2026-10-12T09:00:36","slug":"how-to-deactivate-modsecurity-in-cpanel","status":"publish","type":"post","link":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/","title":{"rendered":"How to Deactivate ModSecurity in cPanel"},"content":{"rendered":"\r\n<p class=\"wp-block-paragraph\">This guide explains how to temporarily disable ModSecurity for a domain in cPanel. ModSecurity is a web application firewall that helps protect your website, so it should only be turned off for a short time while troubleshooting.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Let us follow these steps:<\/strong><\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">1. Log in to your cPanel account: Open your browser and sign in with your cPanel username and password.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7947\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png\" alt=\"\" width=\"224\" height=\"233\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png 305w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6-289x300.png 289w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6-230x239.png 230w\" sizes=\"auto, (max-width: 224px) 100vw, 224px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">2. Open ModSecurity: In cPanel, go to the Security section and click ModSecurity.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7948\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/2-6.png\" alt=\"\" width=\"554\" height=\"174\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/2-6.png 565w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/2-6-300x94.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/2-6-230x72.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/2-6-350x110.png 350w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/2-6-480x150.png 480w\" sizes=\"auto, (max-width: 554px) 100vw, 554px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">3. Select the domain: You will see a list of domains associated with your account.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-7949\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-1024x441.png\" alt=\"\" width=\"740\" height=\"318\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-1024x441.png 1024w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-300x129.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-768x330.png 768w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-830x357.png 830w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-230x99.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-350x151.png 350w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5-480x207.png 480w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/3-5.png 1276w\" sizes=\"auto, (max-width: 740px) 100vw, 740px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">4. Turn ModSecurity off for the domain: Under the domain\u2019s Status, click the switch to turn it Off.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7950\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-1024x42.png\" alt=\"\" width=\"764\" height=\"31\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-1024x42.png 1024w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-300x12.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-768x32.png 768w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-830x34.png 830w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-230x9.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-350x14.png 350w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5-480x20.png 480w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/4-5.png 1266w\" sizes=\"auto, (max-width: 764px) 100vw, 764px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">5. Confirm the warning: A warning message may appear when you disable ModSecurity. Confirm the action if you are sure you want to proceed.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7952\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-1024x92.png\" alt=\"\" width=\"795\" height=\"71\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-1024x92.png 1024w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-300x27.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-768x69.png 768w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-830x75.png 830w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-230x21.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-350x31.png 350w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1-480x43.png 480w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/6-1.png 1347w\" sizes=\"auto, (max-width: 795px) 100vw, 795px\" \/><\/figure>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-7951\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6.png\" alt=\"\" width=\"774\" height=\"71\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6.png 1002w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6-300x28.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6-768x71.png 768w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6-830x76.png 830w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6-230x21.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6-350x32.png 350w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/5-6-480x44.png 480w\" sizes=\"auto, (max-width: 774px) 100vw, 774px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">6. Check the confirmation: After ModSecurity is disabled, a success message should appear confirming the change.<\/p>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">7. Fix the issue: Resolve the problem you were facing (for example, a blocked script, form, or application feature).<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"472\" height=\"80\" class=\"wp-image-7953\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/7-2.png\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/7-2.png 472w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/7-2-300x51.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/7-2-230x39.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/7-2-350x59.png 350w\" sizes=\"auto, (max-width: 472px) 100vw, 472px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\">8. Turn ModSecurity back on: Once the issue is fixed, return to the same page and click the switch to turn ModSecurity On again for that domain. A success message should appear after it is re-enabled.<\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"471\" height=\"76\" class=\"wp-image-7954\" src=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/8-3.png\" alt=\"\" srcset=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/8-3.png 471w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/8-3-300x48.png 300w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/8-3-230x37.png 230w, https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/8-3-350x56.png 350w\" sizes=\"auto, (max-width: 471px) 100vw, 471px\" \/><\/figure>\r\n\r\n\r\n\r\n<p class=\"wp-block-paragraph\"><strong>Important Note:<\/strong> Turn ModSecurity back on as soon as the issue is resolved. Leaving it disabled for a long time can put your website at risk. ModSecurity should not remain turned off longer than necessary.<\/p>\r\n<p>If you need help or have any questions, please contact our support team at any time. You can also explore our web hosting plans for reliable and <a href=\"https:\/\/www.bodhost.com\/\" target=\"_blank\" rel=\"noopener\">secure hosting solutions<\/a>.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>This guide explains how to temporarily disable ModSecurity for a domain in cPanel. ModSecurity is a web application firewall that helps protect your website, so it should only be turned off for a short time while troubleshooting. Let us follow these steps: 1. Log in to your cPanel account: Open your browser and sign in [&hellip;]<\/p>\n","protected":false},"author":21,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[193,1424],"class_list":["post-7945","post","type-post","status-publish","format-standard","hentry","tag-cpanel","tag-modsecurity-in-cpanel"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Deactivate ModSecurity in cPanel<\/title>\n<meta name=\"description\" content=\"This post will explain you how to deactivate ModSecurity in cPanel by just following few easy steps.\" \/>\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-deactivate-modsecurity-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Deactivate ModSecurity in cPanel\" \/>\n<meta property=\"og:description\" content=\"This post will explain you how to deactivate ModSecurity in cPanel by just following few easy steps.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Knowledge Base - bodHOST\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/bodHOST\" \/>\n<meta property=\"article:published_time\" content=\"2024-05-03T09:30:38+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-10-12T09:00:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png\" \/>\n\t<meta property=\"og:image:width\" content=\"305\" \/>\n\t<meta property=\"og:image:height\" content=\"317\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Serena\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@bodHOST\" \/>\n<meta name=\"twitter:site\" content=\"@bodHOST\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Serena\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\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-deactivate-modsecurity-in-cpanel\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/\"},\"author\":{\"name\":\"Serena\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\"},\"headline\":\"How to Deactivate ModSecurity in cPanel\",\"datePublished\":\"2024-05-03T09:30:38+00:00\",\"dateModified\":\"2026-10-12T09:00:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/\"},\"wordCount\":266,\"publisher\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/1-6.png\",\"keywords\":[\"cPanel\",\"ModSecurity in cPanel\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/\",\"name\":\"How to Deactivate ModSecurity in cPanel\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/1-6.png\",\"datePublished\":\"2024-05-03T09:30:38+00:00\",\"dateModified\":\"2026-10-12T09:00:36+00:00\",\"description\":\"This post will explain you how to deactivate ModSecurity in cPanel by just following few easy steps.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/how-to-deactivate-modsecurity-in-cpanel\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/1-6.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2021\\\/09\\\/1-6.png\",\"width\":305,\"height\":317},{\"@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\\\/2026\\\/09\\\/instagram_card_1-1-1.png\",\"contentUrl\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/wp-content\\\/uploads\\\/2026\\\/09\\\/instagram_card_1-1-1.png\",\"width\":150,\"height\":150,\"caption\":\"Web Hosting Knowledge Base | bodHOST Hosting FAQ\"},\"image\":{\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/bodHOST\",\"https:\\\/\\\/x.com\\\/bodHOST\",\"https:\\\/\\\/www.instagram.com\\\/bodhost\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/bodhost-ltd\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UC0xMCUIOoAvVqbNUDIyqgaA\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/#\\\/schema\\\/person\\\/ffd3f118493c99471ae5bd4790a55830\",\"name\":\"Serena\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g\",\"caption\":\"Serena\"},\"url\":\"https:\\\/\\\/www.bodhost.com\\\/kb\\\/author\\\/seema\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Deactivate ModSecurity in cPanel","description":"This post will explain you how to deactivate ModSecurity in cPanel by just following few easy steps.","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-deactivate-modsecurity-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to Deactivate ModSecurity in cPanel","og_description":"This post will explain you how to deactivate ModSecurity in cPanel by just following few easy steps.","og_url":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/","og_site_name":"Knowledge Base - bodHOST","article_publisher":"https:\/\/www.facebook.com\/bodHOST","article_published_time":"2024-05-03T09:30:38+00:00","article_modified_time":"2026-10-12T09:00:36+00:00","og_image":[{"width":305,"height":317,"url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png","type":"image\/png"}],"author":"Serena","twitter_card":"summary_large_image","twitter_creator":"@bodHOST","twitter_site":"@bodHOST","twitter_misc":{"Written by":"Serena","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/"},"author":{"name":"Serena","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830"},"headline":"How to Deactivate ModSecurity in cPanel","datePublished":"2024-05-03T09:30:38+00:00","dateModified":"2026-10-12T09:00:36+00:00","mainEntityOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/"},"wordCount":266,"publisher":{"@id":"https:\/\/www.bodhost.com\/kb\/#organization"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png","keywords":["cPanel","ModSecurity in cPanel"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/","url":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/","name":"How to Deactivate ModSecurity in cPanel","isPartOf":{"@id":"https:\/\/www.bodhost.com\/kb\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png","datePublished":"2024-05-03T09:30:38+00:00","dateModified":"2026-10-12T09:00:36+00:00","description":"This post will explain you how to deactivate ModSecurity in cPanel by just following few easy steps.","inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.bodhost.com\/kb\/how-to-deactivate-modsecurity-in-cpanel\/#primaryimage","url":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2021\/09\/1-6.png","width":305,"height":317},{"@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\/2026\/09\/instagram_card_1-1-1.png","contentUrl":"https:\/\/www.bodhost.com\/kb\/wp-content\/uploads\/2026\/09\/instagram_card_1-1-1.png","width":150,"height":150,"caption":"Web Hosting Knowledge Base | bodHOST Hosting FAQ"},"image":{"@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/bodHOST","https:\/\/x.com\/bodHOST","https:\/\/www.instagram.com\/bodhost\/","https:\/\/www.linkedin.com\/company\/bodhost-ltd","https:\/\/www.youtube.com\/channel\/UC0xMCUIOoAvVqbNUDIyqgaA"]},{"@type":"Person","@id":"https:\/\/www.bodhost.com\/kb\/#\/schema\/person\/ffd3f118493c99471ae5bd4790a55830","name":"Serena","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/8bf3c9f6220a13a4d46295ad7c38a0c9e351ca3a57d0e417580c8e8b83a12a50?s=96&d=mm&r=g","caption":"Serena"},"url":"https:\/\/www.bodhost.com\/kb\/author\/seema\/"}]}},"_links":{"self":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/7945","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\/21"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/comments?post=7945"}],"version-history":[{"count":10,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/7945\/revisions"}],"predecessor-version":[{"id":15794,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/posts\/7945\/revisions\/15794"}],"wp:attachment":[{"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/media?parent=7945"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/categories?post=7945"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bodhost.com\/kb\/wp-json\/wp\/v2\/tags?post=7945"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}