1.// Link to the sitemap in the Magento directory 2. 3.// Prevent contents from being cached 4.header("Expires: Fri, 14 Oct 1955 05:00:00 GMT"); 5.header("Last-Modified: " . gmdate("D, d M Y H:i:s") . " GMT"); 6. 7.// Inform user agent that content is XML and is UTF-8 encoded 8.header('Content-type: text/xml; charset=UTF-8'); 9. 10.// Read sitemap XML file from Magento and render it. 11.// Do not use http here as Zend doesn't seem to allow it! 12.@readfile ('/home/unlimite/public_html/magento2/balloonlights_sitemap.xml');