How To Restrict Bots From Accessing Your WordPress Site

  • A Domain name (e.g.,
  • cPanel access
  • Text editor
  • FTP application
#Block Bad User Agents
RewriteEngine On
RewriteCond %{HTTP_USER_AGENT} ^SpiderMan[OR]
RewriteCond %{HTTP_USER_AGENT} ^voyager[OR]
RewriteCond %{HTTP_USER_AGENT} ^WaveFire
RewriteRule .* — [F,L]
#Restrict IP of botsDeny from from IP range of bots
Deny from





Lead QA Engineer @plerion | stockMarket Lover!

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Security and UX first zkSync is Ethereum’s most user-centric ZK rollup

How Working Remote May Have Helped Twitter’s Hackers

🔥 Doomsday Redemption Airdrop (DRU) ⭐️⭐️⭐️⭐️⭐️ 🎁 Prize Pool: 130,000 DRU 💰 Reward: 50 DRU 👥…

Keplerswap DeFi 2.0 is on the path to prosperity.

Understanding of Tapscript Transaction Structure

I Said Poker Was An Honest Trade

Yellow Submarine: A Technical Deep Dive (part 1)

LPT (Master): Every Employer’s Dream Certification

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Manzeel Uprety

Manzeel Uprety

Lead QA Engineer @plerion | stockMarket Lover!

More from Medium

Deploying a Reddit bot on Heroku with Docker

How SMS 2FA Messages Can Fight Scammers

Create a URL Shortener for personal use using CloudFlare worker in 5 min.

Story of terrible SaaS Startup journey