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!
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:
# Mod_security can interfere with uploading of content such as attachments. If you
# cannot attach files, remove the "#" from the lines below.
#<IfModule mod_security.c>
# SecFilterEngine Off
# SecFilterScanPOST Off
#</IfModule>
ErrorDocument 401 default
ErrorDocument 403 default
ErrorDocument 404 default
ErrorDocument 500 default
<IfModule mod_rewrite.c>
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]
# If you are having problems with the rewrite rules, remove the "#" from the
# line that begins "RewriteBase" below. You will also have to change the path
# of the rewrite to reflect the path to your XenForo installation.
#RewriteBase /xenforo
# This line may be needed to enable WebDAV editing with PHP as a CGI.
#RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^(data/|js/|styles/|install/|favicon\.ico|crossdomain\.xml|robots\.txt) - [NC,L]
RewriteRule ^.*$ index.php [NC,L]
</IfModule>
HELP, please!