I have successfully installed and used Yoast SEO plugin in my WordPress -WooCommerce site but I am unable to generate sitemap.xml or sitemap_index.xml.
I have tried almost all the options available on Google like:
added the rewrite rules to htaccess file as describe in http://www.wpbeginner.com/wp-tutorials/how-to-fix-yoasts-wordpress-seo-sitemap-404-error/
My .htaccess code is :
WordPress SEO – XML Sitemap Rewrite Fix
RewriteRule ^sitemap_index.xml$ /index.php?sitemap=1 [L]
RewriteRule ^([^/]+?)-sitemap([0-9]+)?.xml$ /index.php?sitemap=$1&sitemap_n=$2 [L]
END WordPress SEO – XML Sitemap Rewrite Fix
Tried to load the non-pretty sitemap URL? example.com/index.php?sitemap=1
Tried everything as describe in http://www.wpbeginner.com/beginners-guide/what-is-a-wordpress-sitemap-how-to-create-a-sitemap-in-wordpress/
Now you are the my only hope for getting solution of my problem…
please help me….