Can the firewall block page be customized or changed?

Hello, I use a country block firewall rule to prevent some countries from accessing my sites. Currently, if someone from one of the blocked countries tries to access my site, they get:

Error 1020… This website is using a security service to protect itself from online attacks.

I really don’t want to advertise the fact I am using a security service and would prefer a more generic page that doesn’t reference a security service in use.

Can Error 1020 be changed to something less informative to a potential hacker?

Thank you

Yes it can be changed/customized. To create Custom error pages at Cloudflare, you would need at least a Pro plan. Kindly, see more information about creating one on the article below:

If using at least a Pro plan, navigate to Cloudflare Dashboard → Custom Pages to where they can be customized.

You can try yourself using the code from below:

<!DOCTYPE html>
<html>
   <head>
      <meta charset="utf-8">
      <title>Welcome to my Website!</title>
      <style type="text/css">
         html, body{
         background:black;
         color:white;
         text-align:center;
         }
         h1 { color:red;font-size:22px; }
         h2 { color:blue; }
         p {font-size:16px; color: orange; }
         small {font-size:10px; color: #2eadee; }
      </style>
   </head>
   <body>
      <h1>Dear Visitor, I really like that you visited my Website today!</h1>
      <h2>::CLOUDFLARE_ERROR_1000S_BOX::</h2>
      <p> I am sharing much LOVE and PEACE. </p>
   </body>
</html>
1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.