You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Same here. It adds a bad entry to the sitemap. I hacked the plugin's sitemap.php, beginning line 109 to check for location and lastmod before adding to $this->sitemap[]
foreach ($additions as $addition) {
$entry = new SitemapEntry();
$entry->location = $rootUrl . $addition['location'];
$entry->lastmod = $addition['lastmod'];
// New check
if($addition['location'] && $addition['lastmod'])
{
$this->sitemap[] = $entry;
}
// End new check
}
Cannot delete Additional URLs form when it remains last. It reappears after saving.
Grav v1.6.21 - Admin v1.9.12 - Sitemap v1.9.4
The text was updated successfully, but these errors were encountered: