求论坛大神们给予帮助,小弟不胜感激 ..
网站 http://www.ak35.com
KesionCMS版本 version V9.04
伪静态配置文件httpd.ini内容如下:
=====================================================
[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
#模型通用
RewriteRule /thread\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2 [N,I]
RewriteRule /thread\-(\d+)\-(\d+)\-(\d+)\.html /item/show\.asp\?d=$1&m=$2&p=$3 [N,I]
RewriteRule /list\-(\d+)\.html /item/list\.asp\?id=$1 [N,I]
RewriteRule /list\-(\d+)\-(\d+)\.html /item/list\.asp\?id=$1&page=$2 [N,I]
#问答系统
RewriteRule /ask/list-(\d+)\.html /ask/showlist\.asp\?id=$1 [N,I]
RewriteRule /ask/list-(\d+)-(\d+)-(\d+)\.html /ask/showlist\.asp\?id=$1&page=$2&m=$3 [N,I]
RewriteRule /ask/show-(\d+)\.html /ask/q\.asp\?id=$1 [N,I]
RewriteRule /ask/show-(\d+)-(\d+)\.html /ask/q\.asp\?id=$1&page=$2 [N,I]
#空间门户
#博客列表
RewriteRule /space/blog-((\%|\w)*) /space/index\.asp\?$1\/blog [N,I]
#日志内容页
RewriteRule /space/list-((\%|\w)*)-(\d+).html /space/index\.asp\?$1\/log\/$3 [N,I]
#相册列表
RewriteRule /space/album-((\%|\w)*) /space/index\.asp\?$1\/album [N,I]
#圈子列表
RewriteRule /space/group-((\%|\w)*) /space/index\.asp\?$1\/group [N,I]
#好友列表
RewriteRule /space/friend-((\%|\w)*) /space/index\.asp\?$1\/friend [N,I]
#文集列表
RewriteRule /space/xx-((\%|\w)*) /space/index\.asp\?$1\/xx [N,I]
#小档案
RewriteRule /space/info-((\%|\w)*) /space/index\.asp\?$1\/info [N,I]
#留言页
RewriteRule /space/message-((\%|\w)*) /space/index\.asp\?$1\/message [N,I]
#公司介绍
RewriteRule /space/intro-((\%|\w)*) /space/index\.asp\?$1\/intro [N,I]
#企业新闻列表页
RewriteRule /space/news-((\%|\w)*) /space/index\.asp\?$1\/news [N,I]
#企业新闻内容页
RewriteRule /space/show-news-((\%|\w)*)-(\d+).html /space/index\.asp\?$1\/shownews\/$3 [N,I]
#产品列表页
RewriteRule /space/product-((\%|\w)*) /space/index\.asp\?$1\/product [N,I]
#产品内容页
RewriteRule /space/show-product-((\%|\w)*)-(\d+).html /space/index\.asp\?$1\/showproduct\/$3 [N,I]
#企业招聘页
RewriteRule /space/job-((\%|\w)*) /space/index\.asp\?$1\/job [N,I]
#荣誉证书列表页
RewriteRule /space/ryzs-((\%|\w)*) /space/index\.asp\?$1\/ryzs [N,I]
#空间首页
RewriteRule /space/friend /space/friend/index.asp [N,I]
RewriteRule /space/((\%|\w)*) /space/index\.asp\?$1 [N,I]
#RewriteRule /space/((\%|\w)*).html /space/index\.asp\?$1 [N,I]
=====================================================
因为最近百度权重总是不稳定,所以打算做上301重定向,百度查了下,差不多(因为部分是一样的就没列出来了)就是在伪静态配置文件中加上这2行代码:
RewriteCond Host: ^ak35\.com$
RewriteRule (.*) http\://www\.ak35\.com$1 [I,RP]
可是加上去之后伪静态显示却没效果了,显示404。。为何呢?怎么想都想不清楚,真心求解呀!
以上就是问题所在,因为本人比较少泡论坛,所以请大神们方便的话直接加我Q403303749或给予邮件回复我,谢谢了!!!