Google found up some weird links on my website and has started indexing stuff like
/taxonomy/term/24/WHATEVER. I don't want that.
I also don't want to find all these URLs manually, ideally they will turn up in Google Webmaster's list of broken links and I can fix them using that list.
Unfortunately in the taxonomy term view at PAGE SETTINGS it just says
Path: /taxonomy/term/%. Is there a good way to respond 404 on
a/valid/pathis considered to be that path. So
a/valid/path/bar, etc, are all considered valid paths, even if there isn't a route explicitly defined for it, so you won't get a 404. As I understand it, that's not easy or even possible to change without a fair number of changes to core code (but might be wrong).