We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d1647c2 + 5c3cc1d commit c4af123Copy full SHA for c4af123
app/code/Magento/Sitemap/Model/Sitemap.php
@@ -646,7 +646,7 @@ protected function _finalizeSitemap($type = self::TYPE_URL)
646
*/
647
protected function _getCurrentSitemapFilename($index)
648
{
649
- return self::INDEX_FILE_PREFIX . '-' . $this->getStoreId() . '-' . $index . '.xml';
+ return str_replace('.xml', '', $this->getSitemapFilename()) . '-' . $this->getStoreId() . '-' . $index . '.xml';
650
}
651
652
/**
0 commit comments