• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

XF 1.3 redirect help

Jake Bunce

XenForo moderator
Staff member
#2
If the ids are the same...

Put these rules at the top of the .htaccess file in your web root:

Code:
RewriteEngine On

RewriteRule ^threads/([0-9]+)- /xf/index.php?threads/$1 [R=301,L]
If the ids are different...

Put these rules at the top of the .htaccess file in your web root:

Code:
RewriteEngine On

RewriteRule ^threads/([0-9]+)- /xf/showthread.php?t=$1 [R=301,L]
Then upload these redirect scripts to your /xf directory:

http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/
 

Jake Bunce

XenForo moderator
Staff member
#4
Thanks, but threads archived in Google turns to other topics
Probably because the number of threads become different when converting to xenforo
Look at the links:
www.xyz.com/threads/83-شرح-نصّ-المعراج
www.xyz.com/xf/index.php?threads/43.شرح-نصّ-المعراج
The use the second set of rules in combination with those redirect scripts. That will perform the id mapping:

...

If the ids are different...

Put these rules at the top of the .htaccess file in your web root:

Code:
RewriteEngine On

RewriteRule ^threads/([0-9]+)- /xf/showthread.php?t=$1 [R=301,L]
Then upload these redirect scripts to your /xf directory:

http://xenforo.com/community/resources/redirection-scripts-for-vbulletin-3-x.264/