How to remove /tag from url?

I Wish to remove /tag from url . Every post url has this example I have succesfully modified routes.yaml with this
but it affected all tags and /tag/ urls may not work any more. I know i need to configure redirects.yaml. but dont know what to put in. Kindly Help