The easiest way of setting up an XML sitemap is with All in One SEO. It’s the best SEO plugin for WordPress and offers lots of features beyond sitemaps, like schema markup, WooCommerce SEO, on-page SEO analysis, and so much more.
Just follow these steps and your sitemap will be ready in a matter of seconds.
Step 1: Install and Activate the All in One SEO Plugin
Step 2: View Enabled Sitemap in WordPress
Step 3: Verify Your Site’s Sitemap
Customizing Your WordPress Sitemap