When you participate in the Blockade, one of the most impactful things you can do is display a message in your site's footer about it. First is what it looks like, then the code.
We Proudly Participate in The Blockade
<!-- Participation message with link and Palestinian flag SVG -->
<div class="p-3 bg-white rounded shadow mx-auto" style="max-width: 350px;">
<p class="small text-center text-muted mb-0">
We Proudly Participate in
<!-- Palestinian Flag SVG -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 3"
class="d-inline align-middle mx-1" style="width:16px;height:auto;">
<rect width="5" height="3" fill="#0072c4"/>
<rect width="5" height="1" fill="#fff" y="1"/>
<rect width="5" height="1" fill="#ce1126" y="2"/>
<path fill="#000000" d="M0 0l2.5 1.5L0 3z"/>
<path fill="#ce1126" d="M0 0l1.667 1.5L0 3z"/>
</svg>
<a href="https://theblockade.org" target="_blank" rel="noopener noreferrer"
class="fw-bold text-dark link-underline link-underline-opacity-0 link-underline-opacity-100-hover">
The Blockade
</a>
<!-- Palestinian Flag SVG -->
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5 3"
class="d-inline align-middle mx-1" style="width:16px;height:auto;">
<rect width="5" height="3" fill="#0072c4"/>
<rect width="5" height="1" fill="#fff" y="1"/>
<rect width="5" height="1" fill="#ce1126" y="2"/>
<path fill="#000000" d="M0 0l2.5 1.5L0 3z"/>
<path fill="#ce1126" d="M0 0l1.667 1.5L0 3z"/>
</svg>
</p>
</div>
Here is the actual code you will want to insert into your .htaccess file. Consult your web host's support if you are having trouble with doing so.
# This .htaccess blocks the Israel IP ranges. You will need to ensure accessdenied.html exists
################################################################################
ErrorDocument 403 /accessdenied.html
<Limit GET POST PUT>
Order allow,deny
Allow from all
Deny from 2.52.0.0/14
Deny from 5.28.128.0/18
Deny from 5.29.0.0/16
Deny from 5.102.192.0/18
Deny from 5.144.48.0/20
Deny from 31.44.128.0/20
Deny from 31.154.0.0/16
Deny from 31.168.0.0/16
Deny from 31.210.176.0/20
Deny from 37.19.112.0/20
Deny from 37.46.32.0/20
Deny from 37.142.0.0/16
Deny from 46.116.0.0/15
Deny from 46.120.0.0/15
Deny from 46.210.0.0/16
Deny from 62.0.0.0/16
Deny from 62.56.128.0/19
Deny from 62.56.160.0/20
Deny from 62.56.224.0/19
Deny from 62.90.0.0/16
Deny from 62.128.32.0/19
Deny from 62.219.0.0/16
Deny from 77.124.0.0/14
Deny from 79.176.0.0/13
Deny from 80.70.128.0/20
Deny from 80.74.96.0/20
Deny from 80.74.112.0/20
Deny from 80.178.0.0/15
Deny from 80.230.0.0/16
Deny from 80.244.160.0/20
Deny from 80.246.128.0/20
Deny from 80.250.144.0/20
Deny from 81.5.0.0/18
Deny from 81.199.0.0/20
Deny from 81.199.48.0/20
Deny from 81.199.80.0/20
Deny from 81.199.96.0/19
Deny from 81.199.128.0/20
Deny from 81.199.160.0/19
Deny from 81.199.192.0/18
Deny from 81.218.0.0/16
Deny from 82.80.0.0/15
Deny from 82.102.128.0/18
Deny from 82.166.0.0/16
Deny from 83.130.0.0/16
Deny from 84.94.0.0/15
Deny from 84.108.0.0/14
Deny from 84.228.0.0/15
Deny from 85.64.0.0/15
Deny from 85.130.128.0/17
Deny from 85.250.0.0/16
Deny from 85.255.16.0/20
Deny from 87.68.0.0/14
Deny from 89.138.0.0/15
Deny from 91.90.128.0/20
Deny from 91.135.96.0/20
Deny from 91.143.224.0/20
Deny from 92.61.224.0/20
Deny from 93.172.0.0/15
Deny from 93.175.32.0/19
Deny from 94.159.128.0/17
Deny from 94.188.128.0/17
Deny from 94.230.80.0/20
Deny from 95.35.0.0/16
Deny from 95.86.64.0/18
Deny from 95.142.16.0/20
Deny from 95.175.32.0/19
Deny from 109.64.0.0/14
Deny from 109.160.128.0/17
Deny from 109.186.0.0/16
Deny from 109.226.0.0/18
Deny from 109.253.0.0/16
Deny from 128.139.0.0/16
Deny from 131.125.128.0/17
Deny from 132.64.0.0/15
Deny from 132.66.0.0/15
Deny from 132.68.0.0/15
Deny from 132.70.0.0/15
Deny from 132.72.0.0/15
Deny from 132.74.0.0/15
Deny from 132.76.0.0/15
Deny from 132.78.0.0/16
Deny from 138.134.0.0/16
Deny from 141.226.0.0/18
Deny from 141.226.64.0/20
Deny from 141.226.96.0/20
Deny from 141.226.144.0/20
Deny from 141.226.160.0/20
Deny from 141.226.176.0/21
Deny from 141.226.192.0/19
Deny from 147.75.208.0/20
Deny from 147.233.0.0/16
Deny from 147.234.2.0/23
Deny from 147.234.4.0/22
Deny from 147.234.8.0/21
Deny from 147.234.16.0/22
Deny from 147.234.20.0/23
Deny from 147.234.22.0/24
Deny from 147.234.74.0/23
Deny from 147.234.76.0/22
Deny from 147.234.80.0/21
Deny from 147.234.88.0/23
Deny from 147.234.90.0/24
Deny from 147.234.104.0/21
Deny from 147.234.112.0/20
Deny from 147.234.128.0/17
Deny from 147.235.0.0/16
Deny from 147.236.0.0/18
Deny from 147.236.64.0/19
Deny from 147.236.96.0/23
Deny from 147.236.128.0/20
Deny from 147.236.144.0/20
Deny from 147.236.160.0/20
Deny from 147.236.176.0/20
Deny from 147.236.232.0/21
Deny from 147.236.240.0/20
Deny from 147.237.0.0/16
Deny from 149.49.0.0/16
Deny from 149.106.128.0/19
Deny from 149.106.224.0/19
Deny from 164.138.112.0/20
Deny from 167.86.32.0/19
Deny from 176.12.128.0/17
Deny from 176.13.0.0/16
Deny from 176.228.0.0/14
Deny from 188.120.128.0/19
Deny from 192.114.24.0/21
Deny from 192.114.32.0/21
Deny from 192.114.64.0/20
Deny from 192.114.96.0/20
Deny from 192.114.128.0/20
Deny from 192.114.160.0/19
Deny from 192.114.192.0/18
Deny from 192.115.0.0/20
Deny from 192.115.16.0/20
Deny from 192.115.32.0/20
Deny from 192.115.84.0/22
Deny from 192.115.88.0/21
Deny from 192.115.96.0/21
Deny from 192.115.108.0/22
Deny from 192.115.112.0/20
Deny from 192.115.136.0/21
Deny from 192.115.144.0/20
Deny from 192.115.160.0/22
Deny from 192.115.200.0/21
Deny from 192.115.208.0/20
Deny from 192.115.224.0/19
Deny from 192.116.0.0/17
Deny from 192.116.128.0/18
Deny from 192.116.192.0/18
Deny from 192.117.0.0/18
Deny from 192.117.64.0/20
Deny from 192.117.80.0/20
Deny from 192.117.96.0/19
Deny from 192.117.128.0/18
Deny from 192.117.192.0/19
Deny from 192.117.224.0/21
Deny from 192.117.240.0/20
Deny from 192.118.0.0/20
Deny from 192.118.16.0/21
Deny from 192.118.24.0/22
Deny from 192.118.32.0/19
Deny from 192.118.64.0/22
Deny from 192.118.72.0/21
Deny from 192.118.80.0/20
Deny from 192.118.96.0/19
Deny from 192.118.128.0/17
Deny from 194.29.32.0/20
Deny from 194.90.0.0/19
Deny from 194.90.32.0/19
Deny from 194.90.64.0/18
Deny from 194.90.128.0/17
Deny from 199.203.0.0/16
Deny from 207.232.0.0/18
Deny from 209.35.224.0/19
Deny from 209.206.0.0/19
Deny from 212.25.64.0/19
Deny from 212.25.96.0/19
Deny from 212.29.192.0/19
Deny from 212.29.224.0/19
Deny from 212.68.128.0/19
Deny from 212.76.96.0/19
Deny from 212.116.160.0/19
Deny from 212.117.128.0/19
Deny from 212.143.0.0/16
Deny from 212.150.0.0/16
Deny from 212.179.0.0/17
Deny from 212.179.128.0/17
Deny from 212.199.0.0/17
Deny from 212.199.128.0/17
Deny from 212.235.0.0/18
Deny from 212.235.64.0/18
Deny from 213.8.0.0/16
Deny from 213.57.0.0/16
Deny from 213.137.64.0/20
Deny from 213.137.80.0/20
Deny from 213.151.32.0/19
Deny from 216.252.176.0/20
Deny from 217.22.112.0/20
Deny from 217.65.32.0/20
</Limit>
Below is the corresponding accessdenied.html you will need to save and upload.
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Access Denied - The Blockade</title> <!-- Bootstrap CSS for basic utility and responsiveness --> <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"> <style> /* Custom CSS to fulfill the design requirements */ body { background-color: #000000; /* Black background */ color: #ffffff; /* Default white text */ height: 100vh; margin: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: Arial, sans-serif; text-align: center; padding: 20px; } .main-message { background-color: #ff0000; /* Red background for the main text */ color: #ffffff; /* White text for the main message */ display: inline-block; padding: 1rem 2rem; margin-bottom: 2rem; line-height: 1; /* Keep the giant letters close together */ } .giant-text { font-size: 5vw; /* Responsive font size */ font-weight: 900; text-transform: uppercase; } .normal-text { max-width: 800px; font-size: 1.1rem; line-height: 1.6; } </style> </head> <body> <div class="main-message"> <h1 class="giant-text">ACCESS DENIED</h1> </div> <!-- Normal font size text section (made longer) --> <div class="normal-text"> <p>This server observes **The Blockade**, a voluntary movement to non-violently challenge Israeli apartheid and occupation through digital isolation. Your access has been denied based on your network's geolocation.</p> <p>This measure is not intended to harm individuals but is a symbolic and functional action of non-cooperation aimed at economic and political entities operating within the blocked regions. We stand in solidarity with the people of Palestine and commit our digital infrastructure to support boycott, divestment, and sanctions (BDS) efforts against entities profiting from the occupation and oppression of Palestinians. We believe in the power of peaceful digital resistance to bring about justice and equality.</p> <p>If you believe you have reached this page in error, please consult your network provider. Otherwise, we encourage you to learn more about the goals of The Blockade and the call for a free Palestine.</p> </div> <!-- Bootstrap JS (optional, but good practice if using components) --> <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script> </body> </html>
The code is long, so take care to copy everything completely. We will be publishing a script soon to enable this block at the server level. There is a script we are presently testing, and we want to make sure it is safe and effective before publishing.