Discuz教程网

求帮助啊 论坛静态页面怎么设置的

[复制链接]
authicon 黑超BB 发表于 2013-1-25 07:25:01 | 显示全部楼层 |阅读模式
  1. Apache Web Server(虚拟主机用户)
  2. # 将 RewriteEngine 模式打开
  3. RewriteEngine On
  4. # 修改以下语句中的 /discuz 为您的论坛目录地址,如果程序放在根目录中,请将 /discuz 修改为 /
  5. RewriteBase /discuz
  6. # Rewrite 系统规则请勿修改
  7. RewriteCond %{QUERY_STRING} ^(.*)$
  8. RewriteRule ^topic-(.+).html$ portal.php?mod=topic&topic=$1&%1
  9. RewriteCond %{QUERY_STRING} ^(.*)$
  10. RewriteRule ^article-([0-9]+)-([0-9]+).html$ portal.php?mod=view&aid=$1&page=$2&%1
  11. RewriteCond %{QUERY_STRING} ^(.*)$
  12. RewriteRule ^forum-(w+)-([0-9]+).html$ forum.php?mod=forumdisplay&fid=$1&page=$2&%1
  13. RewriteCond %{QUERY_STRING} ^(.*)$
  14. RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+).html$ forum.php?mod=viewthread&tid=$1&extra=page%3D$3&page=$2&%1
  15. RewriteCond %{QUERY_STRING} ^(.*)$
  16. RewriteRule ^group-([0-9]+)-([0-9]+).html$ forum.php?mod=group&fid=$1&page=$2&%1
  17. RewriteCond %{QUERY_STRING} ^(.*)$
  18. RewriteRule ^space-(username|uid)-(.+).html$ home.php?mod=space&$1=$2&%1
  19. RewriteCond %{QUERY_STRING} ^(.*)$
  20. RewriteRule ^blog-([0-9]+)-([0-9]+).html$ home.php?mod=space&uid=$1&do=blog&id=$2&%1
  21. RewriteCond %{QUERY_STRING} ^(.*)$
  22. RewriteRule ^archiver/(fid|tid)-([0-9]+).html$ archiver/index.php?action=$1&value=$2&%1
  23. RewriteCond %{QUERY_STRING} ^(.*)$
  24. RewriteRule ^([a-z]+[a-z0-9_]*)-([a-z0-9_-]+).html$ plugin.php?id=$1:$2&%1
复制代码

这些代码怎么用啊,上传到哪里,文件名怎么写啊高手在哪里快来



上一篇:论坛打不开了,FTP也打不开。
下一篇:关于X3伪静态问题,一直解决不了
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

1314学习网 ( 浙ICP备10214163号 )

GMT+8, 2025-5-6 09:15

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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