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

XF 1.1 vB4+vBSEO -> xF Redirection. Confused Beyond Repair!

Discussion in 'Installation, Upgrade, and Import Support' started by TheBigK, Nov 26, 2011.

  1. TheBigK

    TheBigK Well-Known Member

    First of all, let me make it clear that this redirection business isn't fitting in my brain. I've been reading about the whole thing since last two days and still confused. If someone can simplify this, I'm sure lot of members would benefit.

    My Current Setup:

    www.domain.com -> WordPress Install
    www.domain.com/forum/ -> vBulletin 4 + vBSEO installation

    My xenForo Setup:

    www.domain.com/community/


    The steps I understand:

    1. Clean install of xenForo in www.domain.com/community/
    2. Import everything from vBulletin using import scripts.
    3. Once import is complete, archive import log table as shown here: http://xenforo.com/help/import-redirection/

    I'm not sure what exactly should I do. The files I need are here (I guess) -

    http://xenforo.com/community/threads/vbulletin-4-x-url-redirection.7584/
    settings: http://xenforo.com/community/threads/redirects-for-vbseod-urls.5098/

    But how do I proceed after step#3? Can someone guide?
     
  2. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

  3. TheBigK

    TheBigK Well-Known Member

    That's it? What about the redirect scripts provided by Kier and then the setting up additional rules :| Can someone give me the steps?
     
  4. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    Kier's redirect scripts must be installed along with an .htaccess file containing the rewrite rules generated by this page:

    http://tools.geekpoint.net/xfseo/

    Select a preset on that page and click Generate. It will give you the rewrite rules and tell you to install Kier's scripts.
     
    TheBigK likes this.
  5. TheBigK

    TheBigK Well-Known Member

    Thanks. I'll check it out. Kire's redirect scripts work fine with vB4? Or do I need other redirect scripts?
     
  6. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    It probably works the same in vB4, yes. Unless you are using vB4's SEO URLs which are different. Here is a script specifically for vB4:

    http://xenforo.com/community/threads/vbulletin-4-x-url-redirection.7584/

    But for your purposes of redirecting vBSEO vB4 URLs you should probably use Kier's scripts plus that vBSEO preset which basically lays on top of Kier's scripts:

    http://tools.geekpoint.net/xfseo/
     
    TheBigK likes this.
  7. TheBigK

    TheBigK Well-Known Member

    Giving it a try in next few hours! Thanks a lot for your quick responses, Jake :)
     
  8. TheBigK

    TheBigK Well-Known Member

    Trying to perform vB4+vBSEO -> XF migration on my test server but can't seem to get the redirects right :(

    Here's a summary of my actions so far -

    My Current Setup (test clone server):

    vBulletin 4 + vBSEO installed in -> domain.com/forum/
    Xenforo Installation -> domain.com/community/
    I've WordPress installed in domain.com.

    Data has been imported and import log has been generated.

    My Redirection Attempt:

    I downloaded vBulletin 3.x redirection scripts by Kier. Updated the 301config.php and placed it under -

    domain.com/forum/includes/

    Uploaded other files from your redirect script to forum root, overwriting the existing showthread, showpost files.

    Generated following rewrite rules using SHADAB's vBSEO rewrite rules for XF, and placed following lines on the top of my .htaccess file in /forum/ -

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

    Then I went to Google and searched for the terms for which we've #1 position. Click the search result link and Google Chrome says -

    Error 310 (net::ERR_TOO_MANY_REDIRECTS): There were too many redirects.
     
  9. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    301config.php stays in the forum root with the rest of the redirect scripts.
     
  10. TheBigK

    TheBigK Well-Known Member

    That too, isn't working :( .

    I'm wondering, why am I getting 'too many redirects' error? Something's definitely wrong with the .htaccess.
     
  11. Jake Bunce

    Jake Bunce XenForo Moderator Staff Member

    I can take a look if you are comfortable giving me your FTP login. I also need an example URL from the vB forum that I can use to test the redirects.
     
  12. TheBigK

    TheBigK Well-Known Member

    @Everyone: Jake *knows* the answer for sure! I removed the old vBSEO code from .htaccess in old forum root and redirection works perfectly. The only problem now is with the member profile redirects. Don't know how to fix it :)
     
  13. mrb1972

    mrb1972 Active Member

    This is a interesting read as I will be doing the same soon, I didnt realise the vBulletin 3.x redirection scripts worked with VB4
     
  14. TheBigK

    TheBigK Well-Known Member

    Once I'm done with the migration, I'll post a detailed guide on how to migrate the forums and also write step by step instructions to setup redirects :)
     
  15. mrb1972

    mrb1972 Active Member

    That would be great - thanks
     

Share This Page