godaddy 主机中伪静态设置 .htaccess 将web.config是什么 .htaccess代码如下

[复制链接]
查看11 | 回复2 | 2011-3-23 12:56:03 | 显示全部楼层 |阅读模式
RewriteEngine On


RewriteRule ^(.*)group/list/([0-9] )-?([0-9]*)-?([0-9]*).html$ $1/grouplist.php\\?pid=$2defds123cid=$3defds123page=$4 [NC,L]
RewriteRule ^(.*)group/topic/([0-9] ).html$ $1/grouptopic.php\\?id=$2 [NC,L]
RewriteRule ^(.*)Member/([0-9] ).html$ $1/groupmember.php\\?id=$2 [NC,L]
RewriteRule ^(.*)-cid-([0-9] )-sp-([0-9] )-ep-([0-9] )-sort-(.*)-area-(.*)-q-(.*)-liebiao-([0-9]?)-([0-9] ).html$ $1.php\\?cid=$2defds123sp=$3defds123ep=$4defds123sort=$5defds123area=$6defds123q=$7defds123liebiao=$8defds123page=$9 [NC,L]
RewriteRule ^(.*)view-(.*).html$ $1/view.php\\?num_iid=$2 [NC,L]
RewriteRule ^(.*)search-(.*)-([0-9] )-([0-9] ).html$ $1/search.php\\?q=$2defds123cid=$3defds123page=$4 [NC,L]

RewriteRule ^(.*)shop-(.*)-([0-9] ).html$ $1/shop.php\\?nick=$2defds123page=$3 [NC,L]
RewriteRule ^(.*)-([0-9] )-([0-9] ).html$ $1.php\\?cid=$2defds123page=$3 [NC,L]
RewriteRule ^(.*)-([0-9] ).html$ $1.php\\?page=$2 [NC,L]

ErrorDocument 404 /notfound.php
回复

使用道具 举报

千问 | 2011-3-23 12:56:03 | 显示全部楼层
<pre class=\"replyask-text\" id=\"content-700396\">直接给下转换的xml代码
回复

使用道具 举报

千问 | 2011-3-23 12:56:03 | 显示全部楼层
<pre class=\"replyask-text\" id=\"content-700416\">直接给下转换的xml代码
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

主题

0

回帖

4882万

积分

论坛元老

Rank: 8Rank: 8

积分
48824836
热门排行