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

XF 1.5 Urgent help needed with vBulletin > XF redirects.

#1
I have an urgent problem. Major portions of our forum seem to be going to dead pages instead of redirecting to their new counterparts.

Some I can clearly see such as this:

Old vBulletin URL: http://www.hairlosstalk.com/interact/forumdisplay.php/12
New XenForo URL: https://www.hairlosstalk.com/interact/forums/hair-transplants-hair-replacement-surgery.12/

(note we also went from http to https)

Here are the redirect rules I see he put into the htaccess file. I don't know if some are wrong, or something is missing:

# FORUM CATEGORIES
RewriteRule ^forumdisplay\.php/([0-9]+)-([^\.]+)/page([0-9]+)$ https://www.hairlosstalk.com/interact/forums/$2\.$1/page-$3 [L,R=301,NC]
RewriteRule ^forumdisplay.php/([0-9]+)-([^\.]+)$ https://www.hairlosstalk.com/interact/forums/$2\.$1 [L,R=301,NC]
Redirect 301 ^forumdisplay.php/8-Men-s-Hair-Loss-Discussions https://www.hairlosstalk.com/interact/#mens-hair-loss-discussions.8


Also seeing that threads are not redirecting properly either.
I've attached the entire htaccess file just in case also.
 
Last edited:
#3
Thanks @Alfa1

Update: these URLs are from a very old version of vBulletin. Our most current vBulletin URLs are redirecting properly to the new XenForo URLs. Google apparently still has thousands of old URLs in its index or something. Im not sure where its getting these from. But they seem to be very old.

Problem one - Very Old vBulletin Forum Category (subforum) Redirects:
Code:
Old vBulletin URL: http://www.hairlosstalk.com/interact/forumdisplay.php/12
New XenForo URL: https://www.hairlosstalk.com/interact/forums/hair-transplants-hair-replacement-surgery.12/
Solution: RewriteRule ^forumdisplay.php/([0-9]+)$ https://www.hairlosstalk.com/interact/forums/$2\.$1 [L,R=301,NC]



Problem two - Very Old vBulletin Thread URL Redirects:
Code:
Old vBulletin URL:  https://www.hairlosstalk.com/interact/showthread.php/48242
New XenForo URL:  https://www.hairlosstalk.com/interact/threads/propecia-0-5-mg-or-1-mg-per-week.48242/
Solution: RewriteRule ^showthread.php/([0-9]+)$ https://www.hairlosstalk.com/interact/threads/$2\.$1 [L,R=301,NC]