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 977ab55 + 6c345a7 commit b5ce9e2Copy full SHA for b5ce9e2
app/code/Magento/Sitemap/Model/Sitemap.php
@@ -614,7 +614,7 @@ protected function _finalizeSitemap($type = self::TYPE_URL)
614
*/
615
protected function _getCurrentSitemapFilename($index)
616
{
617
- return self::INDEX_FILE_PREFIX . '-' . $this->getStoreId() . '-' . $index . '.xml';
+ return str_replace('.xml', '', $this->getSitemapFilename()) . '-' . $this->getStoreId() . '-' . $index . '.xml';
618
}
619
620
/**
0 commit comments