awesomemotive / all-in-one-seo-pack

All in One SEO plugin for WordPress SEO
https://aioseo.com
339 stars 155 forks source link

Bug - addl-sitemap returns 404 when homepage is set to latest posts and static pages are not cleared #3090

Closed arnaudbroes closed 4 years ago

arnaudbroes commented 4 years ago

When the homepage is set to display the latest posts, but the static pages below it aren't cleared, the addl-sitemap file returns a 404 error because the homepage is listed under pages.

Should be an easy fix (I wrote the original code).