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

XF 1.1 xenforo with ipb and vBulletin redirects

Discussion in 'Installation, Upgrade, and Import Support' started by Adam Howard, Oct 21, 2012.

  1. Adam Howard

    Adam Howard Well-Known Member

    So I've come over a new setup

    XenForo fully established, importing both IPB and vBulletin

    Needs to keep current and future xenforo links, but also preserve past IPB and vBulletin links.

    How would one apply that?
     
  2. Adam Howard

    Adam Howard Well-Known Member

  3. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  4. Adam Howard

    Adam Howard Well-Known Member

    I personally didn't do this import. Someone else did and no, they dumped the import logs :rolleyes: :eek:

    So I'm trying to find a generic way to do the redirect via htaccess. I'm sure it will not be 100%, but better than nothing.
     
  5. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  6. Adam Howard

    Adam Howard Well-Known Member

  7. Adam Howard

    Adam Howard Well-Known Member

    PHP:
        RewriteCond %{QUERY_STRING} (^|\?)([0-9]+)-([a-zA-Z0-9_\-]+)
        
    RewriteRule showthread\.php /forum/showthread.php?t=%[R=301,L]
    May simply be the best option for the vBulletin side of things.
     
  8. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Then redirects are not possible without the import log in the database.
     
  9. Adam Howard

    Adam Howard Well-Known Member

    That's puzzling. It's possible the other way around (import out of xenforo into something else). Why is it required for xenforo?
     
  10. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    The import log is required for redirects if the ids are different. If the ids are the same then you can use plain rewrite rules without an import log.
     

Share This Page