My website’s sitemap is showing ip address instead of website name. Its all happened unconditionally. Help me out.
Go to Yoast turn off sitemap function then turn on again.
Go to settings in your wordpress dashboard and then permalinks and click save without changing anything.
Clear cache afterwards and then check your sitemap again.
Here are a few basic errors and the solutions by Yoast themselves - https://kb.yoast.com/kb/xml-sitemap-errors/
Hitesh sometimes i thought that you should be in facebook or google. You are the bomb dude. This works perfectly. Highly appreciated.
Yours Welcome Brother.
No need to answer this @Hitesh has already done it