How to Block Links in WhatsApp Groups
Step-by-step guide: How to Block Links in WhatsApp Groups. Easy to follow with screenshots and examples.
Anti-link automatically deletes external URLs posted by non-admin members and applies a warning. You can allowlist trusted domains so legitimate links (your own site, YouTube, etc.) pass through.
Prerequisites
- Bot admin in the target group.
Step-by-step instructions
- 1
Enable: `!antilink on`
Or Dashboard → Moderation → Anti-link → ON.
!antilink on - 2
Allowlist trusted domains
Dashboard → Anti-link → Allowlist. Add your own domain, plus youtube.com / spotify.com if relevant.
- 3
Exempt members
`!whitelist @user` lets that user post any link without triggering anti-link.
- 4
Set the action on detection
Default: delete + warn. Optionally: delete only / warn only / delete + kick.
Expected result
Off-topic link drops vanish within 1-2 seconds; legitimate links pass.
Common pitfalls
- Without bot-admin, anti-link warns but cannot delete.
Frequently asked questions
Does it block t.me / chat.whatsapp.com invites?
Yes by default, those are common spam vectors. Allowlist them if you trust the source.
Ready to put this into practice?
Create your free BotWave account and connect a session in under 2 minutes.
Get started free