I have many different page results showing up in Google for a variety of pages which are showing content featuring IP number instead of the domain. I want to change this so that users clicking on these are redirected to the spelled domain version and that ultimately, Google will not show these in their index.
My thought is that I need to do some kind of global redirect which would match IP page to domain page. I would also need to account for an IP range (XX.XX.0.0 - XX.XX.255.255 ), but I’m not sure how to do all of this?