How can I prevent the new indexing bug from creating useless pages on Google?

That’s because I removed my client’s domain name and collection name, as you can see it’s using website.com. I was only showing what the URL structure is appearing in GSC.