分享

写回答

发帖

[提问] 紧急求助!!godaddy 设置淘客帝国伪静态规则!!

GoDaddy GoDaddy 4974 人阅读 | 12 人回复

发表于 2010-10-24 15:41:41 | 显示全部楼层 |阅读模式

我在godaddy根目录下新建一个文件夹 taobao.daogoudaren.com,绑定好域名 http://taobao.daogoudaren.com,放了一个淘客程序,也添加上官方给的伪静态规则了,但是伪静态后的网页老打不开,弄了半天,还是搞不清楚。。。恳请各位高手帮忙看看~~~
小弟感激不尽。。。。
下面是官方给的是伪静态代码
  1. # Helicon ISAPI_Rewrite configuration file
  2. # Version 3.1.0.56

  3. RewriteEngine On
  4. #ErrorDocument 404 /404.php
  5. #ErrorDocument 401 "Authorization Required"


  6. Rewritebase /

  7. RewriteRule ^(.*)view.php/(.+)-(.+).html$ $1/view.php\?nick=$2&iid=$3
  8. RewriteRule ^(.*)product.php/([0-9]+).html$ $1/product.php\?iid=$2

  9. RewriteRule ^(.*)list.php/([0-9]+).html$ $1/list.php\?catid=$2
  10. RewriteRule ^(.*)list.php/([0-9]+)$ $1/list.php\?catid=$2


  11. RewriteRule ^(.*)/list.php/([0-9]+)-0.html$ $1/list.php\?catid=$2&sort=commissionNum_desc
  12. RewriteRule ^(.*)/list.php/([0-9]+)-0-([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sort=commissionNum_desc&sp=$3&ep=$4
  13. RewriteRule ^(.*)/list.php/([0-9]+)-0-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sort=commissionNum_desc&sp=$3&ep=$4&page=$5

  14. RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3
  15. RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5
  16. RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-.html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5
  17. RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)--([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&page=$6
  18. RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+)-([0-9]+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&q=$6&page=$7
  19. RewriteRule ^(.*)/list.php/([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+)-(.+).html$ $1/list.php\?catid=$2&sortnum=$3&sp=$4&ep=$5&q=$6



  20. RewriteRule ^(.*)shop.php/(.+).html$ $1/shop.php\?user=$2
  21. RewriteRule ^(.*)shop.php/(.+)-([0-9]+).html$ $1/shop.php\?user=$2&sortnum=$3
  22. RewriteRule ^(.*)shop.php/(.+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/shop.php\?user=$2&sortnum=$3&sp=$4&ep=$5
  23. RewriteRule ^(.*)shop.php/(.+)-([0-9]+)-([0-9]+)-([0-9]+)-([0-9]+).html$ $1/shop.php\?user=$2&sortnum=$3&sp=$4&ep=$5&page=$6
复制代码

回答|共 12 个

xuanfeng1989

发表于 2010-10-24 15:50:54 | 显示全部楼层

高手啊~~高手在哪里~~

xuanfeng1989

发表于 2010-10-24 16:39:43 | 显示全部楼层

http://taobao.daogoudaren.com/product.php/7606575676.html 这一类的网址可以打开,

http://taobao.daogoudaren.com/list.php/0-0-1-100000-%D5%ED%CD%B7.html  
http://taobao.daogoudaren.com/list.php/50011277-0-1-100000-.html   这里一类的网址就打不开了。。。
不知道是什么原因,我本机测试时都可以打开的,但是上传到godaddy空间就不行了
补充一点,我用的是godaddy  150g的那个Linux主机.

xuanfeng1989

发表于 2010-10-24 23:07:48 | 显示全部楼层

  怎么没人回复啊!!!
苦等中。。。。

heixiudao

发表于 2010-10-24 23:36:29 | 显示全部楼层

是不是网站后台配置开关没打开?

xuanfeng1989

发表于 2010-10-24 23:47:59 | 显示全部楼层

后台已经开启伪静态了,http://taobao.daogoudaren.com/product.php/7606575676.html   像这样的网址已经伪静态了,可以打开,但是http://taobao.daogoudaren.com/li ... 0-%D5%ED%CD%B7.html  
http://taobao.daogoudaren.com/list.php/50011277-0-1-100000-.html  这样的网址打不开!!
本机测试时可以打开的,不知道什么回事!
RAKSmart

add.c

发表于 2010-10-25 09:44:31 | 显示全部楼层

规则有问题吧   
把Rewritebase /  改为
Rewritebase /taobao.daogoudaren.com/     ‘目录是这个吧?

xuanfeng1989

发表于 2010-10-25 11:50:14 | 显示全部楼层

还是不行。。。。。。

syh863718

发表于 2010-10-25 12:36:29 | 显示全部楼层

找淘客帝国官方解决,他们有售后

yuxuan1900

发表于 2010-10-25 12:38:23 | 显示全部楼层

回复 1# 的帖子

找我 QQ 1536661738
您需要登录后才可以回帖 登录 | 注册

本版积分规则