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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[转换] 弱弱的问下,NT到DZ,能彻底转换并保证301么

[复制链接]
clubking 发表于 2010-1-31 21:55:49 | 显示全部楼层 |阅读模式
两个出发点:
1.nt的确太弱了
2.看好x系统的方向

所以准备转,几万贴的行业顶级论坛,还是不忍心的,不过没法子
 楼主| clubking 发表于 2010-1-31 21:56:15 | 显示全部楼层
补充:是总计几万贴,行业比较小,不是日贴量哈
回复

使用道具 举报

蓝豆 发表于 2010-1-31 21:57:47 | 显示全部楼层
可以彻底转换,但是做一个301转向,多少也会影响到收录的哟
回复

使用道具 举报

coowed 发表于 2010-1-31 23:15:04 | 显示全部楼层
可以彻底转换,但是做一个301转向,多少也会影响到收录的哟
蓝豆 发表于 2010-01-31 21:57



    我的收录也有3万多,我的是NT!3.0转到DZ7.2得,我今天在网上找了一个NT到DZ7.0的rewrite规则,不知可以不可以用,(主要疑问不会都搜索引擎K吧)我贴出前请蓝豆指点,也和大家分享一些.

将下列内容保存为httpd.ini


[ISAPI_Rewrite]

# 3600 = 1 hour
CacheClockRate 3600

RepeatLimit 32

# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
RewriteRule ^(.*)/archiver/showforum-([0-9]+)\.html\?*(.*)$ $1/archiver/fid-$2\.html [R]
RewriteRule ^(.*)/archiver/showtopic-([0-9]+)\.html\?*(.*)$ $1/archiver/tid-$2\.html [R]
RewriteRule ^(.*)/attachment.aspx\?attachmentid=([0-9]+)\?*(.*)$ $1/attachment\.php\?aid=$2 [R]
RewriteRule ^(.*)/onlineuser.aspx\?*(.*)$ $1/member\.php\?action=online [R]
RewriteRule ^(.*)/showtree.aspx\?topicid=([0-9]+)&postid=([0-9]+)\?*(.*)$ $1/thread-$2-1-1\.html [R]
RewriteRule ^(.*)/showtree.aspx\?postid=([0-9]+)\?*(.*)$ $1/thread-$2-1-1\.html [R]
RewriteRule ^(.*)/register\.aspx\?*(.*)$ $1/register\.php [R]
RewriteRule ^(.*)/login\.aspx\?*(.*)$ $1/logging\.php\?action=login [R]
RewriteRule ^(.*)/showforum-([0-9]+)\.html\?*(.*)$ $1/forum-$2-1\.html [R]
RewriteRule ^(.*)/showforum-([0-9]+)(?:-([0-9]+))?\.html\?*(.*)$ $1/forum-$2-$3\.html [R]
RewriteRule ^(.*)/showforum-([0-9]+)\.aspx\?*(.*)$ $1/forum-$2-1\.html [R]
RewriteRule ^(.*)/showforum-([0-9]+)(?:-([0-9]+))?\.aspx\?*(.*)$ $1/forum-$2-$3\.html [R]
RewriteRule ^(.*)/showtopic.aspx\?topicid=([0-9]+)\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4 [R]
RewriteRule ^(.*)/showtopic-([0-9]+)\.html\?*(.*)$ $1/thread-$2-1-1\.html [R]
RewriteRule ^(.*)/showtopic-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/thread-$2-$3-1\.html [R]
RewriteRule ^(.*)/showtopic-([0-9]+)(?:-([0-9]+)(?:-([0-9]+))?)?\.html\?*(.*)$ $1/thread-$2-$3-$4\.html [R]
RewriteRule ^(.*)/showtopic-([0-9]+)\.aspx\?*(.*)$ $1/thread-$2-1-1\.html [R]
RewriteRule ^(.*)/showtopic-([0-9]+)-([0-9]+)\.aspx\?*(.*)$ $1/thread-$2-$3-1\.html [R]
RewriteRule ^(.*)/showtopic-([0-9]+)(?:-([0-9]+)(?:-([0-9]+))?)?\.aspx\?*(.*)$ $1/thread-$2-$3-$4\.html [R]
RewriteRule ^(.*)/archiver/((fid|tid)-[0-9]+\.html)\?*(.*)$ $1/archiver/index\.php\?$2&$4
RewriteRule ^(.*)/forum-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/forumdisplay\.php\?fid=$2&page=$3&$4
RewriteRule ^(.*)/thread-([0-9]+)-([0-9]+)-([0-9]+)\.html\?*(.*)$ $1/viewthread\.php\?tid=$2&extra=page\%3D$4&page=$3&$4
RewriteRule ^(.*)/space-(username|uid)-(.+)\.html\?*(.*)$ $1/space\.php\?$2=$3&$4
RewriteRule ^(.*)/tag-(.+)\.html\?*(.*)$ $1/tag\.php\?name=$2&$3
回复

使用道具 举报

蓝豆 发表于 2010-1-31 23:39:28 | 显示全部楼层
本帖最后由 蓝豆 于 2010-02-02 16:30 编辑

[url]https://discuz.dismall.com/viewthread.php?tid=1328405&highlight=[/url]
Discuz!NT=>Discuz! 7.0保持搜索引擎带来的流量之rewrite 规则
回复

使用道具 举报

coowed 发表于 2010-1-31 23:40:44 | 显示全部楼层
本帖最后由 coowed 于 2010-01-31 23:41 编辑

我的是DZ7.2也可以完全用DZ7.2规则吗可以吗?(这样不会被K吧)
回复

使用道具 举报

蓝豆 发表于 2010-1-31 23:41:27 | 显示全部楼层
我的是DZ7.2也完全可以吗?
coowed 发表于 2010-1-31 23:40



    这个不知道,应该是可以用的
回复

使用道具 举报

coowed 发表于 2010-1-31 23:46:39 | 显示全部楼层
我试了一下,可以用不过还是有一大部分收录失效!
回复

使用道具 举报

蓝豆 发表于 2010-1-31 23:52:01 | 显示全部楼层
可以彻底转换,但是做一个301转向,多少也会影响到收录的哟
蓝豆 发表于 2010-1-31 21:57



   
回复

使用道具 举报

coowed 发表于 2010-1-31 23:58:48 | 显示全部楼层
多谢!多谢!蓝豆辛苦
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-10-3 19:19 , Processed in 0.115214 second(s), 16 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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