How do I block visitors referred by a specific domain?

  • Last Created On Dec 03, 2024
  • 62
0 0

Add this code to your .htaccess file.

Change input\.com to the domain you’re blocking.

You will need a \ before the . RewriteCond %{HTTP_REFERER} input\.com [NC] RewriteRule .* – [F]

Views: 62

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    1261
  • Deploy a PyTorch Workspace on a Vultr Cl...
    798
  • Managing Backup Storage
    814
  • Automating FTP Backups in Windows Server
    783
  • Automating FTP Backups in Linux
    760

Popular Articles

  • Our General Terms & Conditions
    20426
  • Our Privacy Policy
    19306
  • Our Cookies Policy
    2225
  • Our Terms of Use
    1274
  • How to Install JAX with ROCm Acceleratio...
    1261