I cannot remember if this feature is in 2.4.1 but a quick check would tell you
look in the category settings / metadata / in .25.6 there is a robots field that you can enter things into to stop them. You will find the same in the item metadata
i used this as reference forum.joomla.org/viewtopic.php?p=1504715