Remove tags and random words in url

Hi!

To eliminate thin and duplicate content, and no control over some pages I wonder this:

If you create at producttag you get an extra collection url that is site.com/collections/collection/tagwich shows the collection page but without control over the content.

But if you remove the tag the url is still here. Is there a way to remove it somehow?I have created a redirect to the collection page, page since the url isnt removed it doesn’t kick in.

I also noticed that you can write a random word at the end of the url, and end up on a similar page. eg. site.com/collections/collection/random-word shows the collection page but with no control. Is there a way to prevent this and let all random words redirect to the collection page?

Thank you! But As long as the url loads a valid page the redirect doesnt kick in.

“Only broken URLs should be redirected. Broken URLs might load a “page not found” placeholder message, or “404” might appear somewhere on the page or in the page title. If the URL still loads a valid webpage, then the URL redirect won’t work.