Based on my personal philosophy of Internet Explorer as a browser and the analytics that say my site is barely used by IE users, I'm making the decision to deprecate support for IE on my Wordpress site.
I want to do this by preventing IE11 users from using the site at all, instead informing them that it's an outdated browser (IE11 was released more than 5 years ago) and that the user should download one of the linked modern browsers to continue using the site.
In 2019, what's the best way to accomplish this? Are user agents still a bad idea, or would they be sufficient for this use case considering that those using IE11 are highly unlikely to be spoofing user agents?