0

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.

1 Answer 1

1

I assume location/state and location/state/city are template files. In those 2 template files you should copy the contents of header.php and edit there the title and the meta description. Also delete the request get_header().

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.