发表于:2009年01月14日 16时 作者:dx_andy
discuz7.0 搜索引擎优化.htaccess内容如下:
discuz7.0 htaccess
- # 将 RewriteEngine 模式打开
- RewriteEngine On
-
- # 修改以下语句中的 /discuz 为你的论坛目录地址,如果程序放在根目录中,请将 /discuz 修改为 /
- RewriteBase /discuz
-
- # Rewrite 系统规则请勿修改
- RewriteRule ^archiver/((fid|tid)-[\w\-]+\.html)$ archiver/index.php?$1
- RewriteRule ^forum-([0-9]+)-([0-9]+)\.html$ forumdisplay.php?fid=$1&page=$2
- RewriteRule ^thread-([0-9]+)-([0-9]+)-([0-9]+)\.html$ viewthread.php?tid=$1&extra=page\%3D$3&page=$2
- RewriteRule ^space-(username|uid)-(.+)\.html$ space.php?$1=$2
- RewriteRule ^tag-(.+)\.html$ tag.php?name=$1
点击下载:discuz7.0 .htaccess
你也在用这吗
上传到FTP之后,可以生效,但是无法看到这个htaccess文件了,不知道为什么。