Documentation

removeEntry

void public
\Bitrix\Seo\SitemapFile::removeEntry(
 string $url
);

Method searches and deletes an entry from the current completed sitemap file. Non-static method.

Keys for added array:

XML_LOC - value, specifying field location;

XML_LASTMOD - last updated field value.

Parameters

ParameterDescriptionVersion
$urlEntry URL.

Example



© «Bitrix24», 2001-2024
Up