Buki tekşekkür
fakat şu şekilde hata aldım, düzeltmeyee devam ediyorum
Alıntı
Warning: Cannot modify header information - headers already sent by (output started at /home/ahmet/public_html/sub/alokatolog.com/sitemap.php:2) in /home/ahmet/public_html/sub/alokatolog.com/sitemap.php on line 5
/.html daily 1.0 /süleyman güneş.html daily 0.8 /gerginim.html daily 0.8 /süleyman güneş.html daily 0.8 /Samet Güneş.html daily 0.8 /KEMAL GÜNEŞ.html daily 0.8 /FARUK GÜNEŞ.html daily 0.8 /ferhan güneş.html daily 0.8 /ferhan güneş.html

_BuKi_ adlı üyeden alıntı: mesajı görüntüle
<?php	
include('ayar.php');
global $prefix, $siteadi;
header('Content-type: text/xml');

echo ""<?xml version=\"1.0\" encoding=\"UTF-8\"?>
<urlset xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:schemaLocation=\"http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd\" xmlns=\"http://www.sitemaps.org/schemas/sitemap/0.9\">
	<url>
		<loc>".$siteadi."</loc>
		<changefreq>daily</changefreq>
		<priority>1.0</priority>
	</url>";
$sor=mysql_query("SELECT * FROM ".$prefix."_haberler");
while ($yaz=mysql_fetch_array($sor)){
$baslik=$yaz["baslik"];
   echo "
	<url>
		<loc>".$siteadi."/".$baslik.".html</loc>
		<changefreq>daily</changefreq>
		<priority>0.8</priority>
	</url>";
}
echo "</urlset>";
?>
böyle dener misiniz ?