尝试访问sitemap.xml时出错

时间:2014-03-06 07:12:37

标签: php sitemap

尝试访问sitemap.xml时出现此类错误 我生成了xml站点地图文件并将其放在服务器上的根文件夹中但是当我尝试访问它时出现以下错误:

   Warning: require_once(/home/europezone/html/inc/pages.inc.php): failed to open stream: No such file or directory in /home/europezone/html/index.php on line 44 Fatal error: require_once(): Failed opening required '/home/europezone/html/inc/pages.inc.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/europezone/html/index.php on line 44 

1 个答案:

答案 0 :(得分:0)

站点地图应该采用.php格式,解决方案是添加。php到最后sitemap.xml.php