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

Vbulletin + VBSEO Import: URL Redirects not working! HELP

Discussion in 'Installation, Upgrade, and Import Support' started by MrFantasy, May 6, 2013.

  1. MrFantasy

    MrFantasy Member

    Hi guys, first post here. I made the switch from VB4 to Xenforo. Installed xenforo (fresh install into same forum directory, moved existing VB4 forum files to another directory). I then downloaded and ran the VB4 Importer (after uploading the files to the server). Used the VB4 URL redirect script.

    The forum works and all, but all the old forum URL paths for everything don't redirect to the new forum paths, which are now in the XF format. That means all search traffic doesn't go to the right page. Right now, any old forum url just goes to the /forums, not to the thread, even though I have installed the redirect scripts.

    Here is what I did:

    1. moved original VBulletin files to another directory.
    2. copied the new installation of xenforo to the previous directory that contained vbulletin (/forums)
    3. installed XenForo
    4. added the VB4 to Xenforo importer.
    5. Ran the importer, completed all steps, made that archive file "archived_import_log". Everything imported over correctly.
    6. Uploaded the "vBulletin 4.x URL Redirection" stuff. I went with the "Standard, Basic or Advanced URLs:" option and uploaded the files (the ones that were in the upload folder in the zipped package of the vBulletin 4.x URL Redirection) to the /forums root directory.
    7. I also did install the other file "addon-vB4Redir.xml" addon and enabled it in xenforo, but it doesn't make a difference to anything whether it's enabled or disabled.

    8.Uploaded the vbseo_urls.xml file exported from VBSEO to the VBSEO to VB TOOL (http://tools.geekpoint.net/xfseo/). Copied the url rewrites and pasted them into the .htaccess file sitting in the /forums folder, the default xenforo one.

    This is what the VBSEO to VB tool gave me to paste in the htaccess file:

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

    9. I even went to the 301config.php file and enabled the "define('IMPORT_LOG_TABLE', 'archived_import_log');" That still didn't fix the problem

    10. Friendly URLS in xenforo options menu are enabled.

    Basically, not a single url is being redirected. Not sure what's going on. I even tried modifying the 301 page and putting the archived stuff in to map the URL's, but no dice.

    Anyone have a solution here? I've been trying to fix this for hours, including reading up on all the VBSEO to Xenforo threads on here and still no dice!

    I notice that the new Xenforo seems to have /forums/forum, where my vBulletin only had /forums. There also seems to be a /threads when VBulletin before had something else. I would assume the redirect stuff would fix this but...

    My htaccess file is this:

    HELP, please!
  2. MrFantasy

    MrFantasy Member

    Resolved it. I'm not quite sure how, but now it just works.

Share This Page