Block what's my ip checking

hi all,

how can i filter and block user to see what’s my WAN ip like:

https://www.google.com/search?q=check+my+ip&oq=check+my+ip&aqs=chrome..69i57.1771j0j4&sourceid=chrome&ie=UTF-8

or, it can redirect to the page i want to show ?

You cannot block that.