XF 2.2 Migrated vBulletin 3.8 to Xenforo - Can't get redirection working

topklasse

New member
Hello,
I have migrated my old vBulletin forum to Xenforo and generally the migration worked well.
The only thing I can't get working is the redirection.

I've downloaded the redirection plugin, installed it and pointed it at the right table.
However, I get the following message when I navigate to a URL that I bookmarked from the old forum:


Oops! We ran into some problems.​


The requested forum could not be found.

I've tried some extra .htaccess redirect lines that I found on some other threads but nothing seems to change this.

Any help greatly appreciated.
Thanks,
Bryce
 

Sperber

Well-known member
First, welcome to the pack & congratulations for leaving vB. Second, most will need to know the structure of your website and the content of your .htaccess to be able to help you out.
 

topklasse

New member
First, welcome to the pack & congratulations for leaving vB. Second, most will need to know the structure of your website and the content of your .htaccess to be able to help you out.
Hi Sperber,
Thanks for your reply.

I tried a few things in .htaccess, but right now I put it back to how it was since I wasn't able to get anywhere.

This is it:

Code:
#    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 405 default
ErrorDocument 406 default
ErrorDocument 500 default
ErrorDocument 501 default
ErrorDocument 503 default

<IfModule mod_rewrite.c>
    RewriteEngine On

    #    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 /


    #    This line may be needed to workaround HTTP Basic auth issues when using 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>
# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php74” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php74 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

In terms of the configuration, I was running vBulletin 3.8.10.
I'm running Xenforo on shared hosting. My forum is fairly vanilla, I've got a bunch of different forums that users can post in and there is about 10 years of posts imported from the old VB forum. Running PHP 7.4. I didn't have a plugin on the old VB forum that changed the urls, they were vanilla.

Any other config info you need?

Thanks,
Bryce
 

Brogan

XenForo moderator
Staff member
The redirection scripts should work - many people are using them.

I recommend posting in the resource thread for assistance with setting it up.
 
Top