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

Importing from vB4

Chad

Active member
#1
Before I purchase this, I need some answers on importing from vB.

I use DBSEO addon with VB for SEO.

What is the best way to have all old links redirect to the new ones in XF after the import is done?

I found this, but it's not clear enough for me
https://xenforo.com/community/resources/vbulletin-4-x-url-redirection.120/

My vb install is root, not a sub folder so it's domain.com

If I buy XF, it would be installed in root as well, replacing the old VB.

This is my vb htaccess for example. What would (or should) be the XF htaccess content?

Code:
RewriteEngine On

RewriteBase /

RewriteCond %{HTTP_HOST} !^www\.mydomain\.com
RewriteRule (.*)  http://www.mydomain.com/$1 [L,R=301]

RewriteRule ^((archive/)?(.*\.php(/.*)?)?)$ dbseo.php [L,QSA]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.+)$ dbseo.php [L,QSA]

## Rewrites
<ifmodule mod_rewrite.c>
    RewriteEngine on
    Options +FollowSymlinks

    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    # Forum
    RewriteRule ^threads/.* showthread.php [QSA]
    RewriteRule ^forums/.* forumdisplay.php [QSA]
    RewriteRule ^members/.* member.php [QSA]
    RewriteRule ^blogs/.* blog.php [QSA]
    ReWriteRule ^entries/.* entry.php [QSA]

    RewriteCond %{REQUEST_FILENAME} -s [OR]
    RewriteCond %{REQUEST_FILENAME} -l [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^.*$ - [NC,L]

    # MVC
    RewriteRule ^(?:(.*?)(?:/|$))(.*|$)$ $1.php?r=$2 [QSA]
   
</ifmodule>

## Expires
<ifModule mod_expires.c>
    ExpiresActive On
    ExpiresByType image/gif "access plus 1 year"
    ExpiresByType image/jpeg "access plus 1 year"
    ExpiresByType image/png "access plus 1 year"
    ExpiresByType text/css "access plus 1 year"
    ExpiresByType text/javascript "access plus 1 year"
    ExpiresByType application/javascript "access plus 1 year"
    ExpiresByType application/x-javascript "access plus 1 year"
</ifModule>

<Files 403.shtml>
order allow,deny
allow from all
</Files>
Thanks.
 

Jeremy

Well-known member
#2
You won't receive specific answers to your questions until you've purchased a license and post in the appropriate support forums, but it is possible to import and redirect DBSeo URLs. I am almost certain its been done before and discussed on these forums.
 

Chad

Active member
#3
I already tried to post in the import forum but it won't let me because I'm not a customer yet. However, this is a simple question for purpose of planning ahead my migration. I shouldn't have to pay $140 to get an answer regarding this import process.
 

Tracy Perry

Well-known member
#5
I already tried to post in the import forum but it won't let me because I'm not a customer yet. However, this is a simple question for purpose of planning ahead my migration. I shouldn't have to pay $140 to get an answer regarding this import process.
What you are asking is for the specifics on how to do it... not whether it can be done or not. Specific answers on HOW to do it are not provided in the pre-sales question - because it's not the official support area, which you only should need when you have a licensed copy.


I know it CAN be done, as one guy I helped get his VPS set up used vB 4.2.2 with DBSEO.