初回にエラーが出る時の対策以前からGoogle XML Sitemapsを使用している方は、4.0以上にアップデートすると初回にエラーがでます。 WordPressダッシュボード>設定>XML-Sitemapで要確認。 エラーメッセージは以下。 There is still a sitemap.xml or sitemap.xml.gz file in your blog directory. Please delete them as no static files are used anymore or try to delete them automatically. 要は、サイトマップを動的生成するから、以前からあった静的なサイトマップファイル(sitemap.xml、sitemap.xml.gz)は使わないよ、削除してねってことです。 対策方法は2種類。 どちらかを行えばOKです
![Google XML Sitemaps 4.0以上のエラー対策](https://cdn-ak-scissors.b.st-hatena.com/image/square/cb28f95215aec889d08ff984319c735f8ed6dc7a/height=288;version=1;width=512/https%3A%2F%2Fmemotora.com%2Fwp-content%2Fuploads%2F2015%2F02%2Feye-catch-wordpress-rev2.png)