.htaccess里面的按标题伪静态规则该怎么写的????
[*]# Destoon B2B Rewrite Rules[*]ErrorDocument 404 /404.php
[*]RewriteEngine On
[*]RewriteBase /
[*]RewriteRule ^(.*)\.(asp|aspx|asa|asax|dll|jsp|cgi|fcgi|pl)(.*)$ /404.php
[*]RewriteRule ^(.*)-htm-(.*)$ $1.php?$2
[*]RewriteRule ^(.*)/show-(+)([\-])?(+)?\.html$ $1/show.php?itemid=$2&page=$4
[*]RewriteRule ^(.*)/list-(+)([\-])?(+)?\.html$ $1/list.php?catid=$2&page=$4
[*]RewriteRule ^(.*)/show/(+)/(+)?([/])?$ $1/show.php?itemid=$2&page=$3
[*]RewriteRule ^(.*)/list/(+)/(+)?([/])?$ $1/list.php?catid=$2&page=$3
[*]RewriteRule ^(.*)/(+)/(.*)\.shtml$ $1/$2/index.php?rewrite=$3
[*]RewriteRule ^(com)/(+)/(+)/(.*)\.html$ index.php?homepage=$2&rewrite=$4
[*]RewriteRule ^(com)/(+)/(+)([/])?$ index.php?homepage=$2
[*]RewriteRule ^(com)/(+)([/])?$ index.php?homepage=$2复制代码我想将内容页和分类名称都按标题伪静态,我已经在url.inc里面增加了{$title}和{$catname},页面上显示地址了,可是.htaccess里不相应改是页面是打不开的. 希望官方老大指点指点,以上是原.htaccess规则,我该怎样加入分类和内容页的标题规则进去呢?感谢了!!!!!!
[ 本帖最后由 南无阿弥陀 于 2010-12-5 08:15 编辑 ]
老大能教下吗?百度现在也支持中文url了呢.
页:
[1]