TheMichtoKE 0 Posted June 2, 2020 Share Posted June 2, 2020 Hello i have a problem with google search console. This error appears when i upload sitemap.php : Quote Sitemap index can be read but contains errors Missing xml tag This tag was not found. Add it and try again Exemples Ligne 2 Parent tag: sitemapindex Tag: sitemap a solution ? to resolve this problem ? Thanks in advance Link to comment Share on other sites More sharing options...
Triqqy 61 Posted June 4, 2020 Share Posted June 4, 2020 I think you need to upload an xml file and not php file. Link to comment Share on other sites More sharing options...
TheMichtoKE 0 Posted June 6, 2020 Author Share Posted June 6, 2020 Thanks for your answer ! I thought about it too but why is it a .php file? How do I configure the .xml file? Link to comment Share on other sites More sharing options...
Triqqy 61 Posted June 7, 2020 Share Posted June 7, 2020 Its a php file because then it is able to generate the sitemap dynamically. Just copy and paste the text to an xml file. Link to comment Share on other sites More sharing options...
TheMichtoKE 0 Posted June 9, 2020 Author Share Posted June 9, 2020 thanks but in my php file i have this : \define('REPORT_EXCEPTIONS', TRUE); $_SERVER['SCRIPT_FILENAME'] = __FILE__; $path = ''; $_GET['app'] = 'core'; $_GET['module'] = 'sitemap'; $_GET['controller'] = 'sitemap'; require_once $path . 'init.php'; if ( \IPS\Request::i()->testsettings ) { exit; } \IPS\Dispatcher\External::i()->run(); Link to comment Share on other sites More sharing options...
Triqqy 61 Posted June 12, 2020 Share Posted June 12, 2020 No, run that on the website and copy the text it give you and paste it to a xml file. Link to comment Share on other sites More sharing options...
TheMichtoKE 0 Posted June 16, 2020 Author Share Posted June 16, 2020 Ok thanks a lot :) Link to comment Share on other sites More sharing options...
Recommended Posts