XML Site Haritası Formatı

XML Site Haritası Formatı : Örnek bir sitemap.xml dosyası aşağıdaki gibidir. Didikle ve Google gibi profesyonel arama motorları web site sahibinin önceliklerine uymak amacıyla varsa bu dosyayı kullanır. Bu XML biçimindeki dosyada sitenizdeki her bir sayfa son değiştirilme tarihi, değişme sıklığı ve taranma önceliği bilgisi ile belirtilir.


Örnek <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.google.com.tr/</loc>
<lastmod>2007-10-10</lastmod>
<changefreq>daily</changefreq>
<priority>0.9</priority>
</url>
<url>
<loc>http://www.google.com.tr/sitemap.xml</loc>
<lastmod>2007-10-10</lastmod>
<changefreq>monthly</changefreq>
<priority>0.5</priority>
</url>
</urlset>

Popüler Yayınlar