akcms

动态页列表标签

<{getindexs page=$page template=”<a href=”()index.htm()”>第一页</a>[indexs]<a href=”()index-[last].htm()”>最后一页</a>” linktemplate=”[link] ” baseurl=”index-[page].htm”}>

动态页列表伪静态规则

RewriteRule ^([a-zA-Z0-9\-]+)/index\.htm$ akcms_category.php?path=$1
RewriteRule ^([a-zA-Z0-9\-]+)/index-([0-9]+)\.htm$ akcms_category.php?path=$1&page=$2


Tag伪静态标签

<{getlists template=”<a href=”()http://xiacai.com.cn/tag/[iteminurl]/()” target=”_blank”>[item]</a>” list=$keywords}>

Tag伪静态规则

RewriteRule ^tag/(.+)/$ akcms_search.php?keywords=$1

百度sitemap模板

<?xml version=”1.0″ encoding=”GB2312″ ?>
<document>
<webSite>http://xiacai.com.cn/</webSite>
<webMaster>qxwo@qq.com</webMaster>
<updatePeri>1440</updatePeri>
<{getitems orderby=”id_reverse” num=”9999″ template=”
<item>
<title>[title]</title>
<link>[url]</link>
<text>[digest]</text> 
<keywords>[keywords]</keywords>
<author>[author]</author>
<source>原创文章</source>
<pubDate>[y]-[m]-[d] [h]:[i]:[s]</pubDate>
</item>
“}>
</document>

谷歌sitemap模板

<?xml version=”1.0″ encoding=”UTF-8″?>
<urlset
      xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″
      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”>
<url>
  <loc>http://xiacai.com.cn/</loc>
  <priority>1.00</priority>
  <lastmod><{$y}>-<{$m}>-<{$d}>T<{$h}>:<{$i}>:<{$s}>+08:00</lastmod>
  <changefreq>daily</changefreq>
</url>
<{getitems orderby=”id_reverse” num=”9999″ template=”
<url>
  <loc>[url]</loc>
  <priority>0.80</priority>
  <lastmod>[y]-[m]-[d]T[h]:[i]:[s]+08:00</lastmod>
  <changefreq>daily</changefreq>
</url>
“}>
</urlset>

我的伪静态规则文件(.htaccess)


3 条评论

is下载 · 17 6 月, 2009 8:09 下午

AK 确实不错 我也在学 呵呵

is下载 · 17 6 月, 2009 8:10 下午

所有标签还得自己慢慢找…还好你有伪静态的规则 呵呵

评论已关闭。