نوشته شده توسط
MMSHFE
نه مسیر اصلی سایت که تولید نقشه از اونجا باید شروع بشه. مثلاً اگه فایل رو توی پوشه ریشه سایت گذاشتین، کافیه اینطوری تنظیمش کنید:
$root_dir = __DIR__;
// or
$root_dir = '.';
موفق باشید.
من همه کارهایی که گفته بودیدانجامدادم ولی این ارور رو میده
کد HTML:
[B]This page contains the following errors:[/B]
error on line 2 at column 1: Extra content at the end of the document [B]Below is a rendering of the page up to the first error.[/B]
این تنظیماته
// Please edit these values before running your script.
// The Url of the site - the last '/' is needed
$url = 'http://www.cheshmha.com/';
// Where the root of the site is with relation to this file.
$root_dir = __DIR__;
// Allowed extensions to consider in sitemap
$extensions = array(
'htm',
'html',
'php'
);
// Stuff to be ignored...
// Ignore the file/folder if these words appear anywhere in the name
$always_ignore = array(
'images'
);
//These files will not be linked in the sitemap.
$ignore_files = array(
'404.php',
'error.php',
'config.php'
);
//The script will not enter these folders
$ignore_dirs = array(
'css',
'images',
'func',
'jqtransformplugin'
);