There is a wordpress plugin that does that and likely more than one but the bigger your site is the more annoying that becomes. That being said, a static site is about as secure as you can get.
Miriam co-founded and built Strattic (acquired by Elementor) to bring an innovative and comprehensive approach to WordPress security and performance to the web at large.
Strattic has incremental builds so when updates are made to a larger site a full, potentially long build doesn't have to happen. And yeah, a static site reduces the attack surface to almost nothing on a site.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
There is a wordpress plugin that does that and likely more than one but the bigger your site is the more annoying that becomes. That being said, a static site is about as secure as you can get.
wordpress.org/plugins/simply-static/
Strattic has incremental builds so when updates are made to a larger site a full, potentially long build doesn't have to happen. And yeah, a static site reduces the attack surface to almost nothing on a site.