How do I block visitors referred by a specific domain?

  • Last Created On Dec 03, 2024
  • 10
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: 10

Recent Articles

  • How to Install JAX with ROCm Acceleratio...
    96
  • Deploy a PyTorch Workspace on a Vultr Cl...
    71
  • Managing Backup Storage
    82
  • Automating FTP Backups in Windows Server
    71
  • Automating FTP Backups in Linux
    75

Popular Articles

  • Our General Terms & Conditions
    2631
  • Our Privacy Policy
    2477
  • Our Cookies Policy
    275
  • Our Terms of Use
    152
  • How to Install JAX with ROCm Acceleratio...
    96