Invictus adlı üyeden alıntı: mesajı görüntüle
kendi sitemde kullandığım sitemap.php :

<?php
include_once('fonksiyon.php');
echo '<?xml version="1.0" encoding="ISO-8859-9"?>
<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>http://www.siteadresi.com/</loc>
        <changefreq>always</changefreq>
        <priority>1.0</priority>
    </url>';
$katcek = mysql_query("SELECT katseo FROM kategori ORDER BY sira ASC");
$drivercek = mysql_query("SELECT id,baslikseo FROM driver ORDER BY id ASC");
$markacek = mysql_query("SELECT markaseo FROM marka ORDER BY marka ASC");
while(list($katseo) = mysql_fetch_array($katcek)) {
    echo "\t<url>\n";
    echo "\t\t<loc>http://www.siteadresi.com/".$katseo."/</loc>\n";
    echo "\t\t<changefreq>daily</changefreq>\n";
    echo "\t\t<priority>0.4</priority>\n";
    echo "\t</url>\n";
}
while(list($markaseo) = mysql_fetch_array($markacek)) {
    echo "\t<url>\n";
    echo "\t\t<loc>http://www.siteadresi.com/".$markaseo."_driver/</loc>\n";
    echo "\t\t<changefreq>daily</changefreq>\n";
    echo "\t\t<priority>0.4</priority>\n";
    echo "\t</url>\n";
}
while(list($id,$baslikseo) = mysql_fetch_array($drivercek)) {
    echo "\t<url>\n";
    echo "\t\t<loc>http://www.siteadresi.com/".$id."-".$baslikseo.".html</loc>\n";
    echo "\t\t<changefreq>daily</changefreq>\n";
    echo "\t\t<priority>0.8</priority>\n";
    echo "\t</url>\n";
}
echo '</urlset>';
?>
htaccess dosyasına da aşşağıdaki kodu ekleyerek bunu sitemap.xml olarak gösteriyorum. umarım işine yarar
ReWriteRule ^sitemap.xml$ sitemap.php [L,NC]

kardeş öncelikle paylaşımın için çok saol ben php de biraz acemiyim şu bölümleri ne yazıkki dolduramıyorum

Alıntı
$katcek = mysql_query("SELECT katseo FROM kategori ORDER BY sira ASC");
$drivercek = mysql_query("SELECT id,baslikseo FROM driver ORDER BY id ASC"
);
$markacek = mysql_query("SELECT markaseo FROM marka ORDER BY marka ASC"
);
while(list(
$katseo) = mysql_fetch_array($katcek
)) {