{"id":77053,"date":"2026-07-23T12:52:58","date_gmt":"2026-07-23T10:52:58","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=77053"},"modified":"2026-07-23T12:52:58","modified_gmt":"2026-07-23T10:52:58","slug":"cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/","title":{"rendered":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does"},"content":{"rendered":"<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">&#8220;Just turn on Under Attack Mode&#8221; is common advice during a website incident, but it&#8217;s rarely explained beyond that one sentence. Here&#8217;s what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it&#8217;s the wrong tool for what&#8217;s happening.<\/p>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">What Under Attack Mode Actually Does<\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">When active, every visitor to your site is shown a brief interstitial page \u2014 usually for a few seconds \u2014 while their browser is checked to confirm it&#8217;s behaving like a real browser rather than an automated script. Only after passing this check does the visitor get through to your actual site content.<\/p>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">Mechanically, this works because real browsers can execute certain background checks (JavaScript challenges) the way a genuine browser would, while simple automated scripts used in attacks typically can&#8217;t, or don&#8217;t bother to. The check filters out a large share of unsophisticated automated traffic before it ever reaches your server, without requiring any manual identification of which requests are &#8220;bad.&#8221;<\/p>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">What This Is Actually Solving<\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">Recall the core problem in most attacks: your server has finite capacity, and an attack works by exceeding that capacity with more requests than it can process. Under Attack Mode doesn&#8217;t make your server handle more traffic \u2014 it reduces the amount of illegitimate traffic that reaches your server at all, by filtering it out at the Cloudflare layer before it ever gets there. Fewer requests reaching the server means the server itself has a fighting chance of handling what&#8217;s left.<\/p>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">When to Actually Turn It On<\/h3>\n<ul class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1 [li_&amp;]:gap-1 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc flex flex-col gap-1 pl-8 mb-3 print:block print:space-y-1\" dir=\"ltr\">\n<li class=\"font-claude-response-body whitespace-normal break-words pl-2\"><strong>Active DDoS traffic<\/strong> \u2014 your site is slow, timing out, or unreachable, and you suspect volume-based attack traffic rather than a genuine surge in real visitors<\/li>\n<li class=\"font-claude-response-body whitespace-normal break-words pl-2\"><strong>Known bot\/scraping surges<\/strong> \u2014 a sudden flood of automated traffic hitting the site aggressively<\/li>\n<li class=\"font-claude-response-body whitespace-normal break-words pl-2\"><strong>During an active security incident<\/strong> \u2014 as part of broader containment while other fixes (WAF rules, credential resets) are being put in place<\/li>\n<\/ul>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">When It&#8217;s the Wrong Tool<\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">This is the part usually left out of the advice. Under Attack Mode adds friction for <em>every<\/em> visitor, real or not \u2014 which means:<\/p>\n<ul class=\"[li_&amp;]:mb-0 [li_&amp;]:mt-1 [li_&amp;]:gap-1 [&amp;:not(:last-child)_ul]:pb-1 [&amp;:not(:last-child)_ol]:pb-1 list-disc flex flex-col gap-1 pl-8 mb-3 print:block print:space-y-1\" dir=\"ltr\">\n<li class=\"font-claude-response-body whitespace-normal break-words pl-2\"><strong>It&#8217;s not meant to run permanently.<\/strong> Leaving it on all the time adds unnecessary friction to every legitimate visitor, which can hurt conversion rates, frustrate returning customers, and in some cases affect how search engines crawl your site.<\/li>\n<li class=\"font-claude-response-body whitespace-normal break-words pl-2\"><strong>It won&#8217;t help with a genuine traffic surge from real visitors<\/strong> \u2014 like a viral moment or a big promotion \u2014 since the slowdown there isn&#8217;t from bots, it&#8217;s from real demand. Under Attack Mode won&#8217;t distinguish &#8220;attack&#8221; from &#8220;unusually popular,&#8221; so this scenario needs different handling (caching, scaling), not this setting.<\/li>\n<li class=\"font-claude-response-body whitespace-normal break-words pl-2\"><strong>It doesn&#8217;t fix a compromised site<\/strong> \u2014 if the issue is malware, defacement, or unauthorized access rather than traffic volume, Under Attack Mode does nothing to address the actual breach; it&#8217;s a traffic-layer tool, not a cleanup tool.<\/li>\n<\/ul>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">What It Looks Like From a Visitor&#8217;s Perspective<\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">A real visitor sees a short-lived checking page \u2014 typically a matter of seconds \u2014 before being let through automatically. It&#8217;s mildly noticeable but not usually disruptive for a one-time visit during a known, temporary incident. The trade-off only becomes a real problem if it&#8217;s left running long after the emergency has actually passed.<\/p>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">How This Fits Into a Broader Response<\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">Under Attack Mode is rarely the <em>only<\/em> thing that should happen during an incident \u2014 it&#8217;s one piece alongside custom WAF rules targeting the specific attack pattern, rate limiting on sensitive endpoints like login or checkout, and, if the origin IP may be exposed, rotating it so attackers can&#8217;t simply bypass Cloudflare entirely and hit the server directly. Turning on Under Attack Mode alone, without addressing an exposed origin IP, can create a false sense of security \u2014 the front door is filtered, but a side door might still be open.<\/p>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">Where This Fits in Tremhost&#8217;s Services<\/h3>\n<div class=\"overflow-x-auto w-full px-2 mb-6 print:overflow-x-visible\" dir=\"ltr\">\n<table class=\"min-w-full border-collapse text-sm leading-[1.7] whitespace-normal\">\n<thead class=\"text-left\">\n<tr>\n<th class=\"text-text-100 border-b-0.5 border-[hsl(var(--border-300)\/0.6)] py-2 pr-4 align-top font-bold\" scope=\"col\">Scenario<\/th>\n<th class=\"text-text-100 border-b-0.5 border-[hsl(var(--border-300)\/0.6)] py-2 pr-4 align-top font-bold\" scope=\"col\">What Applies<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td class=\"border-b-0.5 border-[hsl(var(--border-300)\/0.3)] py-2 pr-4 align-top\">No Cloudflare\/proxy set up yet, active attack right now<\/td>\n<td class=\"border-b-0.5 border-[hsl(var(--border-300)\/0.3)] py-2 pr-4 align-top\">Armor SOS \u2014 same-day cutover + Under Attack Mode activation<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-[hsl(var(--border-300)\/0.3)] py-2 pr-4 align-top\">Cloudflare already active, want ongoing tuned protection<\/td>\n<td class=\"border-b-0.5 border-[hsl(var(--border-300)\/0.3)] py-2 pr-4 align-top\">Armor Pro \u2014 managed WAF, custom rules, rate limiting<\/td>\n<\/tr>\n<tr>\n<td class=\"border-b-0.5 border-[hsl(var(--border-300)\/0.3)] py-2 pr-4 align-top\">Need to toggle Under Attack Mode occasionally yourself<\/td>\n<td class=\"border-b-0.5 border-[hsl(var(--border-300)\/0.3)] py-2 pr-4 align-top\">Available directly if you&#8217;re already on any Armor tier<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<h3 class=\"text-text-100 mt-3 -mb-1 text-[1.125rem] font-bold\" dir=\"ltr\">The Short Version<\/h3>\n<p class=\"font-claude-response-body break-words whitespace-normal\" dir=\"ltr\">Under Attack Mode is a temporary, blunt-but-effective filter for suspected bot and attack traffic \u2014 genuinely useful in the right moment, actively counterproductive if left on indefinitely, and not a substitute for addressing the actual cause of an incident once things are stable.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;Just turn on Under Attack Mode&#8221; is common advice during a website incident, but it&#8217;s rarely explained beyond that one sentence. Here&#8217;s what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it&#8217;s the wrong tool for what&#8217;s happening. What Under Attack Mode Actually Does When active, every [&hellip;]<\/p>\n","protected":false},"author":226,"featured_media":40365,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-77053","post","type-post","status-publish","format-standard","has-post-thumbnail","category-tips"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"&quot;Just turn on Under Attack Mode&quot; is common advice during a website incident, but it&#039;s rarely explained beyond that one sentence. Here&#039;s what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it&#039;s the wrong tool for what&#039;s happening. What Under Attack Mode Actually Does When active, every\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mike\"\/>\n\t<meta name=\"google-site-verification\" content=\"googled2c4f9d88a3d9ef6\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_GB\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Tremhost News\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News\" \/>\n\t\t<meta property=\"og:description\" content=\"&quot;Just turn on Under Attack Mode&quot; is common advice during a website incident, but it&#039;s rarely explained beyond that one sentence. Here&#039;s what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it&#039;s the wrong tool for what&#039;s happening. What Under Attack Mode Actually Does When active, every\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2026-07-23T10:52:58+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2026-07-23T10:52:58+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/facebook.com\/tremmlyzw\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tremhost\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News\" \/>\n\t\t<meta name=\"twitter:description\" content=\"&quot;Just turn on Under Attack Mode&quot; is common advice during a website incident, but it&#039;s rarely explained beyond that one sentence. Here&#039;s what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it&#039;s the wrong tool for what&#039;s happening. What Under Attack Mode Actually Does When active, every\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@tremhost\" \/>\n\t\t<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t\t<meta name=\"twitter:data1\" content=\"Mike\" \/>\n\t\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#blogposting\",\"name\":\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News\",\"headline\":\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does\",\"author\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/author\\\/mike\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/#organization\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/cloudflare-inc-600.png\",\"width\":600,\"height\":600},\"datePublished\":\"2026-07-23T12:52:58+02:00\",\"dateModified\":\"2026-07-23T12:52:58+02:00\",\"inLanguage\":\"en-GB\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#webpage\"},\"articleSection\":\"Tips\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/tremhost.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/category\\\/tips\\\/#listItem\",\"name\":\"Tips\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/category\\\/tips\\\/#listItem\",\"position\":2,\"name\":\"Tips\",\"item\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/category\\\/tips\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#listItem\",\"name\":\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#listItem\",\"position\":3,\"name\":\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/category\\\/tips\\\/#listItem\",\"name\":\"Tips\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/#organization\",\"name\":\"Tremhost\",\"description\":\"content by tremhost editors\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/\",\"telephone\":\"+263735639917\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2020\\\/04\\\/banner.png\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#organizationLogo\",\"width\":365,\"height\":548,\"caption\":\"A Tremhost cartoon person\"},\"image\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#organizationLogo\"},\"sameAs\":[\"https:\\\/\\\/facebook.com\\\/tremmlyzw\",\"https:\\\/\\\/twitter.com\\\/tremhost\",\"https:\\\/\\\/instagram.com\\\/tremhost\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCxDNndooGbeGqMwQUgXHeMA\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/author\\\/mike\\\/#author\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/author\\\/mike\\\/\",\"name\":\"Mike\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4462123afcfe68aa3f07c2f5a0b6475cd79c6fed10090b61b8c6a0bd36f5a657?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mike\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#webpage\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/\",\"name\":\"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News\",\"description\":\"\\\"Just turn on Under Attack Mode\\\" is common advice during a website incident, but it's rarely explained beyond that one sentence. Here's what the setting actually does mechanically, when it genuinely helps, and \\u2014 just as importantly \\u2014 when it's the wrong tool for what's happening. What Under Attack Mode Actually Does When active, every\",\"inLanguage\":\"en-GB\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/author\\\/mike\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/author\\\/mike\\\/#author\"},\"image\":{\"@type\":\"ImageObject\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/wp-content\\\/uploads\\\/2025\\\/09\\\/cloudflare-inc-600.png\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#mainImage\",\"width\":600,\"height\":600},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\\\/#mainImage\"},\"datePublished\":\"2026-07-23T12:52:58+02:00\",\"dateModified\":\"2026-07-23T12:52:58+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/\",\"name\":\"Tremhost News\",\"description\":\"content by tremhost editors\",\"inLanguage\":\"en-GB\",\"publisher\":{\"@id\":\"https:\\\/\\\/tremhost.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News","description":"\"Just turn on Under Attack Mode\" is common advice during a website incident, but it's rarely explained beyond that one sentence. Here's what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it's the wrong tool for what's happening. What Under Attack Mode Actually Does When active, every","canonical_url":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"googled2c4f9d88a3d9ef6","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#blogposting","name":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News","headline":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does","author":{"@id":"https:\/\/tremhost.com\/blog\/author\/mike\/#author"},"publisher":{"@id":"https:\/\/tremhost.com\/blog\/#organization"},"image":{"@type":"ImageObject","url":"https:\/\/tremhost.com\/blog\/wp-content\/uploads\/2025\/09\/cloudflare-inc-600.png","width":600,"height":600},"datePublished":"2026-07-23T12:52:58+02:00","dateModified":"2026-07-23T12:52:58+02:00","inLanguage":"en-GB","mainEntityOfPage":{"@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#webpage"},"isPartOf":{"@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#webpage"},"articleSection":"Tips"},{"@type":"BreadcrumbList","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/tremhost.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog\/category\/tips\/#listItem","name":"Tips"}},{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog\/category\/tips\/#listItem","position":2,"name":"Tips","item":"https:\/\/tremhost.com\/blog\/category\/tips\/","nextItem":{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#listItem","name":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does"},"previousItem":{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#listItem","position":3,"name":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does","previousItem":{"@type":"ListItem","@id":"https:\/\/tremhost.com\/blog\/category\/tips\/#listItem","name":"Tips"}}]},{"@type":"Organization","@id":"https:\/\/tremhost.com\/blog\/#organization","name":"Tremhost","description":"content by tremhost editors","url":"https:\/\/tremhost.com\/blog\/","telephone":"+263735639917","logo":{"@type":"ImageObject","url":"https:\/\/tremhost.com\/blog\/wp-content\/uploads\/2020\/04\/banner.png","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#organizationLogo","width":365,"height":548,"caption":"A Tremhost cartoon person"},"image":{"@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#organizationLogo"},"sameAs":["https:\/\/facebook.com\/tremmlyzw","https:\/\/twitter.com\/tremhost","https:\/\/instagram.com\/tremhost","https:\/\/www.youtube.com\/channel\/UCxDNndooGbeGqMwQUgXHeMA"]},{"@type":"Person","@id":"https:\/\/tremhost.com\/blog\/author\/mike\/#author","url":"https:\/\/tremhost.com\/blog\/author\/mike\/","name":"Mike","image":{"@type":"ImageObject","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/4462123afcfe68aa3f07c2f5a0b6475cd79c6fed10090b61b8c6a0bd36f5a657?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mike"}},{"@type":"WebPage","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#webpage","url":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/","name":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News","description":"\"Just turn on Under Attack Mode\" is common advice during a website incident, but it's rarely explained beyond that one sentence. Here's what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it's the wrong tool for what's happening. What Under Attack Mode Actually Does When active, every","inLanguage":"en-GB","isPartOf":{"@id":"https:\/\/tremhost.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#breadcrumblist"},"author":{"@id":"https:\/\/tremhost.com\/blog\/author\/mike\/#author"},"creator":{"@id":"https:\/\/tremhost.com\/blog\/author\/mike\/#author"},"image":{"@type":"ImageObject","url":"https:\/\/tremhost.com\/blog\/wp-content\/uploads\/2025\/09\/cloudflare-inc-600.png","@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#mainImage","width":600,"height":600},"primaryImageOfPage":{"@id":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/#mainImage"},"datePublished":"2026-07-23T12:52:58+02:00","dateModified":"2026-07-23T12:52:58+02:00"},{"@type":"WebSite","@id":"https:\/\/tremhost.com\/blog\/#website","url":"https:\/\/tremhost.com\/blog\/","name":"Tremhost News","description":"content by tremhost editors","inLanguage":"en-GB","publisher":{"@id":"https:\/\/tremhost.com\/blog\/#organization"}}]},"og:locale":"en_GB","og:site_name":"Tremhost News","og:type":"article","og:title":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News","og:description":"&quot;Just turn on Under Attack Mode&quot; is common advice during a website incident, but it's rarely explained beyond that one sentence. Here's what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it's the wrong tool for what's happening. What Under Attack Mode Actually Does When active, every","og:url":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/","article:published_time":"2026-07-23T10:52:58+00:00","article:modified_time":"2026-07-23T10:52:58+00:00","article:publisher":"https:\/\/facebook.com\/tremmlyzw","twitter:card":"summary_large_image","twitter:site":"@tremhost","twitter:title":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does - Tremhost News","twitter:description":"&quot;Just turn on Under Attack Mode&quot; is common advice during a website incident, but it's rarely explained beyond that one sentence. Here's what the setting actually does mechanically, when it genuinely helps, and \u2014 just as importantly \u2014 when it's the wrong tool for what's happening. What Under Attack Mode Actually Does When active, every","twitter:creator":"@tremhost","twitter:label1":"Written by","twitter:data1":"Mike","twitter:label2":"Est. reading time","twitter:data2":"4 minutes"},"aioseo_meta_data":{"post_id":"77053","title":null,"description":null,"keywords":null,"keyphrases":{"focus":{"keyphrase":"","score":0,"analysis":{"keyphraseInTitle":{"score":0,"maxScore":9,"error":1}}},"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":{"faqs":[],"keyPoints":[],"schemas":[],"titles":[],"descriptions":[],"socialPosts":{"email":{"subject":"","preview":"","content":""},"linkedin":[],"twitter":[],"facebook":[],"instagram":[]}},"created":"2026-07-23 10:52:58","updated":"2026-07-23 12:08:05","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tremhost.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/tremhost.com\/blog\/category\/tips\/\" title=\"Tips\">Tips<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tCloudflare Under Attack Mode Explained: When to Use It and What It Actually Does\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/tremhost.com\/blog"},{"label":"Tips","link":"https:\/\/tremhost.com\/blog\/category\/tips\/"},{"label":"Cloudflare Under Attack Mode Explained: When to Use It and What It Actually Does","link":"https:\/\/tremhost.com\/blog\/cloudflare-under-attack-mode-explained-when-to-use-it-and-what-it-actually-does\/"}],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/77053","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/users\/226"}],"replies":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/comments?post=77053"}],"version-history":[{"count":1,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/77053\/revisions"}],"predecessor-version":[{"id":77054,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/77053\/revisions\/77054"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media\/40365"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=77053"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=77053"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=77053"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}