Jump to content

Sitemap problem


TheMichtoKE

Recommended Posts

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

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

Guest
This topic is now closed to further replies.
×
×
  • Create New...