Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] supesite静态问题

[复制链接]
cueiyu1 发表于 2009-9-29 09:09:08 | 显示全部楼层 |阅读模式
开始的时候我使用的http://www.coott.com/ss/用来开启我自己做的弹弹堂专题页。并设置了静态页转换。windows+iis的
后来我将该域名变成http://ddt.coott.com之后。所有页面都是可以正常开启的,唯独出错的是具体到内容页面的时候就什么都没有了。
回复

使用道具 举报

qishaohe 发表于 2009-9-29 09:20:13 | 显示全部楼层
应该要到数据库里面去把http://www.coott.com/ss/代替成http://ddt.coott.com。
回复

使用道具 举报

lidq.jingwu 发表于 2009-9-29 09:25:19 | 显示全部楼层
好像与数据库无关,你的伪静态规则更改了吗?
Supesite7.0更换域名后内容替换工具:https://discuz.dismall.com/viewth ... ghlight=supesite7.0
回复

使用道具 举报

huaxuanso 发表于 2009-9-29 09:40:26 | 显示全部楼层
回复

使用道具 举报

lidq.jingwu 发表于 2009-9-29 09:47:25 | 显示全部楼层
后台,系统管理,系统设置,搜索引擎优化,将站点连接模式改为高效模式
回复

使用道具 举报

 楼主| cueiyu1 发表于 2009-9-29 11:07:55 | 显示全部楼层
好像与数据库无关,你的伪静态规则更改了吗?
Supesite7.0更换域名后内容替换工具:
lidq.jingwu 发表于 2009-9-29 09:25


我先试下这个方法
回复

使用道具 举报

 楼主| cueiyu1 发表于 2009-9-29 11:30:30 | 显示全部楼层
用了,不行。请问静态配置文件怎么修改,我原来是这样的
目录是www/ss/,原来就是这个目录,现在还是这个目录,只是启用了2级域名而已
以前的域名http://www.coott.com/ss
现在的域名http://ddt.coott.com

  1. RewriteRule ^/ss/([0-9]+)$ /ss/index\.php\?uid/$1 [L]
  2. RewriteRule ^/ss/([0-9]+)/spacelist(.+)$ /ss/index\.php\?uid/$1/action/spacelist/type$2 [L]
  3. RewriteRule ^/ss/([0-9]+)/viewspace(.+)$ /ss/index\.php\?uid/$1/action/viewspace/itemid$2 [L]
  4. RewriteRule ^/ss/([0-9]+)/viewbbs(.+)$ /ss/index\.php\?uid/$1/action/viewbbs/tid$2 [L]
  5. RewriteRule ^/ss/([0-9]+)/(.*)$ /ss/index\.php\?uid/$1/$2 [L]

  6. RewriteRule ^/ss/action(.+)$ /ss/index\.php\?action$1 [L]
  7. RewriteRule ^/ss/category(.+)$ /ss/index\.php\?action/category/catid$1 [L]
  8. RewriteRule ^/ss/viewnews(.+)$ /ss/index\.php\?action/viewnews/itemid$1 [L]
  9. RewriteRule ^/ss/viewthread(.+)$ /ss/index\.php\?action/viewthread/tid$1 [L]
  10. RewriteRule ^/ss/mygroup(.+)$ /ss/index\.php\?action/mygroup/gid$1 [L]
复制代码
回复

使用道具 举报

lidq.jingwu 发表于 2009-9-29 11:48:47 | 显示全部楼层

  1. RewriteRule ^/([0-9]+)$ /index\.php\?uid/$1 [L]
  2. RewriteRule ^/([0-9]+)/spacelist(.+)$ /index\.php\?uid/$1/action/spacelist/type$2 [L]
  3. RewriteRule ^/([0-9]+)/viewspace(.+)$ /index\.php\?uid/$1/action/viewspace/itemid$2 [L]
  4. RewriteRule ^/([0-9]+)/viewbbs(.+)$ /index\.php\?uid/$1/action/viewbbs/tid$2 [L]
  5. RewriteRule ^/([0-9]+)/(.*)$ /index\.php\?uid/$1/$2 [L]

  6. RewriteRule ^/action(.+)$ /index\.php\?action$1 [L]
  7. RewriteRule ^/category(.+)$ /index\.php\?action/category/catid$1 [L]
  8. RewriteRule ^/viewnews(.+)$ /index\.php\?action/viewnews/itemid$1 [L]
  9. RewriteRule ^/viewthread(.+)$ /index\.php\?action/viewthread/tid$1 [L]
  10. RewriteRule ^/mygroup(.+)$ /index\.php\?action/mygroup/gid$1 [L]
复制代码
用这个规则试一下。
回复

使用道具 举报

 楼主| cueiyu1 发表于 2009-9-29 12:08:04 | 显示全部楼层
OK了,是静态配置文件的问题。谢谢
回复

使用道具 举报

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

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-14 03:43 , Processed in 0.100216 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表