How to Restore WordPress Sitemap
Step – 1
Go to your WordPress Dashboard => Settings =>Permalinks

Step – 2
Don’t change any Settings just click on “Save Changes” Button

Step – 3
Now visit your sitemap /wp-sitemap.xml
Step – 4
Additionally If still you sitemap not loading correctly Please purge cache in your WordPress Website