How to Block Bad Bots using .htaccess

Some bots can cause a high load on servers as they index too many pages or get into some never-ending loop.

last day one of the servers I manage had a very high load. On checking apache logs, i have thousands of access like

In this case, the bot user agent is

To block the bot, I added the following code in .htaccess file

This will block any visitor with Browser User Agents SeekportBot or SpamBot2.

Back to htaccess

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published.