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

XF 1.2 Help with vb4 redirect to directory

Mr Lucky

Well-known member
#1
I am trying to redirect my vbulletin4 forum. The old forum was in the root, the new one is in the directory /forum/

ie vbulletin forum index= domain.com/forum.php
xenforo forum index = domain.com/forum/index.php

So I have followed the instructions to put the path in 301config.php and the redirect is taking place but not into the folder. ie I get a 404 error, but if I manually insert /forum/into new URL it works.

I have installed The vb redirect script and it is not redirecting into the directory level

Code:
$fileDir = '/data03/username/public_html/websitefiles/forum/';
(where domain.com is pointing to the root directory /websitefiles/)

I have also tried adding .htaccess:

Code:
RewriteRule ^/showthread.php /forum/showthread.php
RewriteRule ^/forumdisplay.php /forum/forumdisplay.php
But I have to admit at this stage it's trial and error so i hope someone can help me speed up the process

I hope this makes sense, can anyone please help?
 

Mike

XenForo developer
Staff member
#2
If the redirect works but goes to the wrong URL, then you need to make sure that the "Board URL" option in XenForo is correct. It doesn't look like it is.