dedecms快速生成sitemap
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84">
<url>
<loc>[url]http://www.sample.com/[/url]</loc>
<lastmod>2007-01-15</lastmod>
<changefreq>weekly</changefreq>
<priority>0.8</priority>
</url>
{dede:arclist row="10000" col=1 titlelen="500"
orderby="pubdate"}
<url>
<loc>[url]http://www.sample.com[/url][field:arcurl /]</loc>
<lastmod>2007-01-15</lastmod>
<changefreq>weekly</changefreq>
<priority>0.5</priority>
</url>
{/dede:arclist}</urlset>
创一个单独页面,生成文件名设为"sitemap.xml" 放上上面的代码([url]www.sample.com[/url]改为你的域名),选中"含模板标记,要编译" .然后创建就行了.
几秒钟就好了.速度很快.