I have hierarchical taxonomy called "Location" e.g. mywebsite.com/location/state/city I want mywebsite.com/location/state and mywebsite.com/location/state/city to have different title tag I want them to be ...
mywebsite.com/location/state = Welcome to "state" location
mywebsite.com/location/state/city = Welcome to "state", "city" location
Same thing for meta descriptions. I tried configuring header.php but no luck.