1. 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.

Discussion in 'XenForo Questions and Support' started by XenBurger, Jul 24, 2016.

  1. XenBurger

    XenBurger Member

    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: Jul 24, 2016
  2. Alfa1

    Alfa1 Well-Known Member

  3. XenBurger

    XenBurger Member

    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]
     

Share This Page