将旧的VBulletin链接重定向到Xenforo 1.5

我需要帮助来解决此问题。 我以前的vb论坛链接格式:

http://forum.olddomain.com/showthread.php?t=345394&p=26215794&viewfull=1#post26215794

我新的xf帖子链接格式:

https://forum.newdomain.com/posts/26215794/

我的旧域现在位于不同的服务器上,并且仅在htaccess上。

如何针对上述情况进行htacces重定向? 我正在使用

<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&p=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^/showthread.php?t=/(.*)$ https://forum.newdomain.com/threads/$1 [L,R=301]
RewriteRule ^/showthread.php?s=&p=/(.*)$ https://forum.newdomain.com/posts/$1 [L,R=301]
</IfModule>

但这不起作用,我知道了

The requested URL /showthread.php was not found on this server.

那么如何解决呢? 预先谢谢你。

bxgwd0904 回答:将旧的VBulletin链接重定向到Xenforo 1.5

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3153994.html

大家都在问