I am having trouble in generating site map for my site.
I have latest version of yoast SEO plugin 3.5 and WordPress 4.6.1
I have tried different methods available on google but still cannot fix. Even disabled all other plugins. Changed the permalinks to postname but could not be fixed.
Any Suggestions?
2
Answers
How do I get the directory where a Bash script is located from within the script itself?
I had same problem. Without installing any new plugin, update your current cache plugin(in my case “WP-Fastest cache”)!
Also in this page there are more information:
https://kb.yoast.com/kb/xml-sitemap-errors