I run a doctor directory website. It has profile pages on individual doctors. This was the url structure:
www.example.com/docprofile/23/
We recently changed the url structure to: www.example.com/james-smith/
We've done 301 redirection so it redirects properly from the old url to the new. We've also added the canonical tag to the new url. Some of the urls have already started getting indexed by google.
But today i checked the Google Search console and under HTML improvements I saw Duplicated title tags issues. It's showing both the old and new url and saying it has duplicate title tags. How do fix this and would I get a Panda penalty or something?