How to Block Unwanted Bots from Your Website with .htaccess?

I get this question a lot by customers who simply do not want their competitors spying on their projects. Understandably this is real concern as investing money in your project and someone coming and stealing or ruing your rankings.

Bellow is a snippet of code to add into the .htaccess and block all bad bots. Relax, all searchengine bots are allowed, like google, yahoo and bing. Most importantly, ahrefs.com, majestic.com and the rest of the tools won’t be able to spy on your backlinks.

If you like the post, please share and comment!!!

Get more stuff like this

Subscribe to my mailing list and get updates fast.

Thank you for subscribing.

Something went wrong.