Blocking IP ranges in .htaccess

I want to block these 3 ranges …

66.220.144.0 - 66.220.159.255

69.63.176.0 - 69.63.191.255

173.252.64.0 - 173.252.127.255

These ranges are all showing as belonging to Facebook. ( electronic stalking )

How do I do this in .htaccess please ?

I’m not sure if there’s any easy way to block those as three specific ranges. I think you might have to block 66.220.144.*, 66.220.145.*, 66.220.146.*, etc.

This article might help: https://perishablepress.com/stupid-htaccess-tricks/#sec7a

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.