XF 1.2 Migrating from vb3.8.7 + vbseo - Thread Redirection Issue

Neutral Singh

Well-known member
Finally taking a plunge... :) vBulletin Forum is installed at root, http://www.sikhphilosophy.net

What i have done so far...

1. I installed xenforo 1.2.1 in a directory on the root and imported data from vB with no issues and moved the new forum to the root.

2. Downloaded the vbseo-all.xml and generated the rewrite rules from http://tools.geekpoint.net/xfseo/ for the .htaccess file.

RewriteEngine on
RewriteRule [^/]+/([\d]+)-.+-([\d]+).html showthread.php?t=$1&page=$2 [NC,L]
RewriteRule [^/]+/([\d]+)-.+.html showthread.php?t=$1 [NC,L]

3. Downloaded and uploaded Version 6 of the redirection files at the following link:

http://xenforo.com/community/threads/redirection-scripts-for-vbulletin-3-x.5030/

4. Edited the 301config.php and put the following:

$fileDir = '/home/******/public_html';

5. The forum url redirection seems to working fine. eg.

Redirect 301 /sikh-sikhi-sikhism http://www.sikhphilosophy.net/forums/sikh-sikhi-sikhism

6. Problem: My typical thread url looks like this:

http://www.sikhphilosophy.net/movies-and-cinema/41303-ashdocs-movie-review-the-conjuring.html

And it's simply not working! :confused: What am i doing wrong? :cry:

Thanks!
 
Last edited:
I'm confused as to what the "real" old URL is -- that's what we should be redirecting. The showthread.php redirection scripts should be put in that directory.

Note that there is no depending on any of the old files or the old .htaccess. If you have an SEO tool that changed the URL, you just need to have it redirect the URLs that you want to forward to the original URLs (showthread.php, etc).

As the example showthread.php is just returning a blank page, it seems to me that there may be a parse error in the 301config.php file. I would reupload the default version of the redirection scripts to try to take that out as a variable. It should redirect in all cases; if the config isn't set properly, it will redirect to the main page.
 
Top Bottom