habibzafari14, this is the exact same problem I am having.
The correct urls only showed for 6 out of 20 of my websites.
susanalynn: You are talking about a different problem involving authorizing your site with Google search console. I had no problem with that.
I am talking about the correct website URL showing for “Current Settings” under Yoast Search Console.
Siva: Which is the problem you solved?
I have the free version, and I am having the same problem.
Out of 15 websites, all with the same theme and format, only 6 came up with the correct website URL for “Current Settings”.
I have no idea why the Search Console settings worked for 6 websites and not for the other 9. I tried everything I could think of to no avail.
I finally had to disable the SEO XML sitemap functionality and go back to “Google Sitemap” for the 9 that failed.