ecshop开启伪静态后RSS源的链接都错误了

2016-07-07 15:03 来源:www.chinab4c.com 作者:ecshop专家

ecshop开启伪静态后RSS源的链接都错误了 例如:http://higk.com/goods-361.html?from=rss
有什么办法能让它正常啊

回答:
服务器不支持或者是静态规则有问题

我也是,规则要怎么改?伪静态没问题,就是RSS进去后连接有页面时就出错。跟楼主一样的问题。

我的也一样,真烦,笔记本电池网

你用的是iis吗

是IIS的

httpd.txt 文件如下


[ISAPI_Rewrite]

# 为了确保重写规则不影响服务器上的其他站点
# 请将下面的语句前的#号去掉,并将(?:www\.)?site1\.com改为商店所在域名

RewriteCond %{HTTP:Host} http://www.15craft.cn

RewriteRule ^(.*)/index.html$ $1/index\.php
RewriteRule ^(.*)/category$$1/index\.php
RewriteRule ^(.*)/feed-c([0-9]+).xml$$1/feed\.php\?cat=$2
RewriteRule ^(.*)/feed-b([0-9]+).xml$$1/feed\.php\?brand=$2
RewriteRule ^(.*)/feed.xml$$1/feed\.php
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6&page=$7&sort=$8&order=$9
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-min([0-9]+)-max([0-9]+)-attr([^-]*)\.html$ $1/category\.php\?id=$2&brand=$3&price_min=$4&price_max=$5&filter_attr=$6
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3&page=$4&sort=$5&order=$6
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)-([0-9]+)(.*)\.html$ $1/category\.php\?id=$2&brand=$3&page=$4
RewriteRule ^(.*)/category-([0-9]+)-b([0-9]+)(.*)\.html$$1/category\.php\?id=$2&brand=$3
RewriteRule ^(.*)/category-([0-9]+)(.*)\.html$$1/category\.php\?id=$2
RewriteRule ^(.*)/goods-([0-9]+)(.*)\.html$ $1/goods\.php\?id=$2
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)(.*)\.html$$1/article_cat\.php\?id=$2&page=$3&sort=$4&order=$5
RewriteRule ^(.*)/article_cat-([0-9]+)-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2&page=$3
RewriteRule ^(.*)/article_cat-([0-9]+)(.*)\.html$ $1/article_cat\.php\?id=$2
RewriteRule ^(.*)/article-([0-9]+)(.*)\.html$$1/article\.php\?id=$2
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)-(.+)-([a-zA-Z]+)\.html$1/brand\.php\?id=$2&cat=$3&page=$4&sort=$5&order=$6
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)-([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3&page=$4
RewriteRule ^(.*)/brand-([0-9]+)-c([0-9]+)(.*)\.html $1/brand\.php\?id=$2&cat=$3
RewriteRule ^(.*)/brand-([0-9]+)(.*)\.html$1/brand\.php\?id=$2
RewriteRule ^(.*)/tag-(.*)\.html$1/search\.php\?keywords=$2
RewriteRule ^(.*)/snatch-([0-9]+)\.html$$1/snatch\.php\?id=$2
RewriteRule ^(.*)/group_buy-([0-9]+)\.html$$1/group_buy\.php\?act=view&id=$2

feed.PHP,,,修改一下可解决问题,

http://bbs.ecshop.com/viewthread.php?tid=53938&highlight=rss

我的是2.7.2的,怎么覆盖了只显示20条的,可不可以把数量增多 啊