I would like to check if the tag name is the title of a post. And load that post page instead of a tag page.
I have post_type "Cities" and suppose that users will tag normal posts with city names. And when user selects a tag, I would like to check if a "Cities" post exists with this tag name. And show this post if it does.
I am thinking of redirecting from tag page to post page, but don't know when and how to run the check. Is it the right way? Can anyone help?